ARP广播请求和回复
2021/8/3 6:07:34
本文主要是介绍ARP广播请求和回复,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
使用ping命令演示
>sudo arp -da
Password: 192.168.31.1 (192.168.31.1) deleted 192.168.31.11 (192.168.31.11) deleted 192.168.31.48 (192.168.31.48) deleted 192.168.31.72 (192.168.31.72) deleted 192.168.31.95 (192.168.31.95) deleted 192.168.31.99 (192.168.31.99) deleted 192.168.31.110 (192.168.31.110) deleted 192.168.31.114 (192.168.31.114) deleted 192.168.31.144 (192.168.31.144) deleted 192.168.31.192 (192.168.31.192) deleted 192.168.31.211 (192.168.31.211) deleted 192.168.31.224 (192.168.31.224) deleted 192.168.31.241 (192.168.31.241) deleted 192.168.31.252 (192.168.31.252) deleted 224.0.0.251 (224.0.0.251) deleted 239.255.255.250 (239.255.255.250) deleted
> ping 192.168.31.144
PING 192.168.31.144 (192.168.31.144): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 Request timeout for icmp_seq 3 ping: sendto: Host is down Request timeout for icmp_seq 4 ping: sendto: Host is down Request timeout for icmp_seq 5 ping: sendto: Host is down Request timeout for icmp_seq 6 ping: sendto: Host is down
Wireshark 抓包
广播消息样例
响应包示例
查看ARP表
> arp -a
xiaoqiang (192.168.31.1) at 88:c3:97:c9:9f:54 on en1 ifscope [ethernet] mrbond-airer-m1super_mibta8ff (192.168.31.48) at 40:31:3c:47:a8:ff on en1 ifscope [ethernet] luyudeiphone (192.168.31.72) at de:72:87:a5:e1:1b on en1 ifscope [ethernet] zhimi-aircondition-ma4_mibt53c0 (192.168.31.95) at 40:31:3c:4c:53:c0 on en1 ifscope [ethernet] limingzeipadpro (192.168.31.99) at 9a:e:61:7c:e3:8d on en1 ifscope [ethernet] yeelink-light-ceiling7_mibt479a (192.168.31.110) at 4:cf:8c:31:47:9a on en1 ifscope [ethernet] limingzede-ipad (192.168.31.144) at 54:ae:27:4e:98:a on en1 ifscope [ethernet] yeelink-light-ceiling7_mibtf6c5 (192.168.31.192) at 40:31:3c:43:f6:c5 on en1 ifscope [ethernet] bogon (192.168.31.211) at ec:41:18:e:df:a3 on en1 ifscope [ethernet] yeelink-light-ceiling12_mibt382c (192.168.31.224) at 40:31:3c:42:38:2c on en1 ifscope [ethernet] iphone (192.168.31.241) at 32:68:b3:6d:88:c1 on en1 ifscope [ethernet] yeelink-light-ceiling7_mibte7fc (192.168.31.252) at 40:31:3c:41:e7:fc on en1 ifscope [ethernet] ? (224.0.0.251) at 1:0:5e:0:0:fb on en1 ifscope permanent [ethernet] ? (239.255.255.250) at 1:0:5e:7f:ff:fa on en1 ifscope permanent [ethernet]
这篇关于ARP广播请求和回复的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-05-19永别了,微服务架构!
- 2024-05-15鸿蒙生态设备数量超8亿台
- 2024-05-13TiDB + ES:转转业财系统亿级数据存储优化实践
- 2024-05-09“2024鸿蒙零基础快速实战-仿抖音App开发(ArkTS版)”实战课程已上线
- 2024-05-09聊聊如何通过arthas-tunnel-server来远程管理所有需要arthas监控的应用
- 2024-05-09log4j2这么配就对了
- 2024-05-09nginx修改Content-Type
- 2024-05-09Redis多数据源,看这篇就够了
- 2024-05-09Google Chrome驱动程序 124.0.6367.62(正式版本)去哪下载?
- 2024-05-09有没有大佬知道这种数据应该怎么抓取呀?