LoginSignup
13
13

More than 5 years have passed since last update.

同一ネットワーク上に存在するIPアドレスを調べる

Last updated at Posted at 2016-07-16

環境

Mac OSX El Capitan

arp-scanを使う方法

$ arp-scan -I インターフェイス名 -l
インターフェイス名はMacでifconfigした際の自分のipアドレスが書かれている奴です
例えば自分の場合
$ arp-scan -I en0 -l
みたいな感じになる

arp

$ arp -a
を入力する

補足

他にも色々あるっぽいですが、コマンドによってヒットするipの件数が違ったりするっぽい(謎)
arpで出ないときはarp-scanを使う等いろいろしてみましょう

13
13
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
13
13