ITPub博客

首页 > IT基础架构 > 网络安全 > ARP获取另一台主机的MAC地址

ARP获取另一台主机的MAC地址

原创 网络安全 作者:小亮520cl 时间:2015-03-19 17:31:23 0 删除 编辑
[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博客 ” ,链接:https://blog.itpub.net/29096438/viewspace-1466357/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
毕业以后专业任职数据库工程师职位,itpub一直作为自己的笔记记录的地方,blog写的不详细,草书笔记,仅供参考!

注册时间:2013-09-12

  • 博文量
    529
  • 访问量
    1126995