zoukankan      html  css  js  c++  java
  • 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]
    

      

  • 相关阅读:
    CSS边框,背景,边距,溢出
    数字电子技术课程设计之基于触发器的三位二进制同步减法计数器无效态000/110
    集成电路版图与工艺课程设计之用CMOS实现Y=AB+C电路与版图
    金属磁记忆传感器封装
    基于FPGA 的8b10b编解码电路前端电路设计
    Css颜色和文本字体
    Css中的选择器
    Css基本语法及页面引用
    65 插入排序
    63 散列表的查找
  • 原文地址:https://www.cnblogs.com/JasonLeemz/p/15092495.html
Copyright © 2011-2022 走看看