LoginSignup

This article is a Private article. Only a writer and users who know the URL can access it.
Please change open range to public in publish setting if you want to share this article with other users.

More than 3 years have passed since last update.

できること

  • 同一ネットワーク上のホストのIPアドレスとMACアドレスの対を表示する
  • IPアドレスとMACアドレスの対をせっていする

基本構文

MACアドレステーブルを表示する

$ arp

よく使う構文

MACアドレステーブルに新たなエントリを追加

$ arp -s -i ${ネットワーク・インターフェース} ${IPアドレス} ${MACアドレス}

このホストのネットワークインターフェースに指定したIPアドレスのMACアドレスを追加する。

よく使うオプション

その他

0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up