Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/init.php on line 542
ja:network:ip_macaddress_lan

LAN内の機器のIP,MACアドレス、ホスト名を調べたい


 for i in {0..254};do ping -c 1 -W 0.1 XXX.YYY.ZZZ.${i} > /dev/null && arp XXX.YYY.ZZZ.${i}; done

のようにすればOK