ARP獲取另一臺主機的MAC地址

小亮520cl發表於2015-03-19
[root@gc1 ~]# ping 192.168.6.111
PING 192.168.6.111 (192.168.6.111) 56(84) bytes of data.
64 bytes from 192.168.6.111: icmp_seq=1 ttl=64 time=0.382 ms
64 bytes from 192.168.6.111: icmp_seq=2 ttl=64 time=0.320 ms

某一臺主機的
[root@gc1 ~]# arp -a 192.168.6.111
? (192.168.6.111) at 08:00:27:00:40:0E [ether] on eth0

全部的
[mysql@GECS1DB2 ~]$ arp -a
? (132.42.33.40) at 84:8f:69:3f:77:ae [ether] on bond01
? (132.42.33.82) at 00:1b:ed:ce:31:80 [ether] on bond01
? (132.42.33.47) at 84:8f:69:3f:e6:15 [ether] on bond01
? (132.42.33.39) at 84:8f:69:3f:77:a1 [ether] on bond01
? (132.42.33.65) at 84:8f:69:3f:f2:55 [ether] on bond01
? (132.42.33.97) at 84:8f:69:43:0e:af [ether] on bond01
? (132.42.33.64) at 84:8f:69:3f:f2:48 [ether] on bond01
? (132.42.33.43) at 84:8f:69:3f:77:bb [ether] on bond01
? (132.42.33.48) at 84:8f:69:3f:e6:22 [ether] on bond01
? (132.42.33.46) at 84:8f:69:43:a1:a2 [ether] on bond01
? (132.42.33.1) at 00:00:5e:00:01:01 [ether] on bond01
? (132.42.33.81) at 00:1b:ed:ce:57:c0 [ether] on bond01
? (132.42.33.195) at 84:8f:69:43:3f:bc [ether] on bond01
? (132.42.33.55) at 84:8f:69:3f:e5:e1 [ether] on bond01
? (132.42.33.63) at 84:8f:69:3f:f2:3b [ether] on bond01

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29096438/viewspace-1466357/,如需轉載,請註明出處,否則將追究法律責任。

相關文章