LoginSignup
6
8

More than 5 years have passed since last update.

ネットワーク内のデバイスIPの調べ方 (MAC)

Last updated at Posted at 2015-11-09

Goal

sshで Raspberryとか同じネットワークでつながっている機器のアドレスを調べたい
 一応MACを利用しているので、MACで楽な方法がいい

Solutions

  • install

      sudo brew install arp-scan     
    
  • Using the following command:

     arp-scan --interface スキャンを行うネットワークアダプタ(eth0など) -l
    
  • Using ifconfig to specify network_adapter (自分の場合 en6)

  • 以下は実行サンプル

sudo arp-scan --interface en6 -l
Interface: en6, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.9 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
xxx.xxx.xxx.xxx xx:xx:xx:xx:xx:xx   Philips Lighting BV
xxx.xxx.xxx.xxx xx:xx:xx:xx:xx:xx   Raspberry Pi Foundation
6
8
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
6
8