Linux arp -a 输出表列定义

标签 linux network-programming arp

有人可以为每一列定义标题吗?

macOS High Sierra v 10.13.3
输入:$ arp -a

? (192.168.0.1) at b0:7f:b9:5a:d:a2 on en4 ifscope [ethernet]
? (192.168.0.10) at 0:18:4d:ff:ff:7 on en4 ifscope [ethernet]
? (192.168.0.15) at 9c:f3:87:ba:cd:80 on en4 ifscope [ethernet]
? (192.168.0.18) at 78:28:ca:14:db:f0 on en4 ifscope [ethernet]
? (192.168.0.24) at 38:c9:86:e:16:99 on en4 ifscope permanent [ethernet]
? (192.168.0.255) at ff:ff:ff:ff:ff:ff on en4 ifscope [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en4 ifscope permanent [ethernet]
? (239.0.0.250) at 1:0:5e:0:0:fa on en4 ifscope permanent [ethernet]
? (239.192.152.143) at 1:0:5e:40:98:8f on en4 ifscope permanent [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en4 ifscope permanent [ethernet]

真诚的感谢!

最佳答案

? (239.255.255.250) at 1:0:5e:7f:ff:fa en4 ifscope permanent [以太网]
主机名 | IP 地址 | MAC地址|接口(interface)|路线命令| ARP 缓存条目状态 |硬件类型

主机名:显然if the hostname can't be resolved, you get a
IP地址
MAC地址
接口(interface)Iface:Ethernet Layer Tools, Appendix B.1.arp
路由命令:在本例中,ifscopeused to bind a route to a specific interfaceRouting flags .
ARP 缓存条目状态:在本例中,permanent 指的是 manually added address resolution .
硬件类型HWtype:来自以太网层工具附录B.1.arp的隐式引用

希望这对以后的人有帮助

关于Linux arp -a 输出表列定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49308726/

相关文章:

python - 将文本文件中的重复分隔符替换为替代字符

c - 比较c中的两个char指针值时strcmp返回true

c++ - 有没有一种方法可以编写可在 Windows 和 Linux 上运行的命令行游戏?

c++ - 警告 : deprecated conversion from string constant to âchar*â

c - 假设带有 'text/*' 的 HTTP 数据包永远不会有 '\0' 总是安全的吗?

sockets - FIN 数据包乱序并覆盖?

java - 什么会导致UDP数据包在发送到本地主机时被丢弃?

bash - 仅从 IP 获取 Mac 地址(bash)

c - Libpcap ARP 数据包结构未正确映射

linux - QEMU/KVM/libvirt macvtap VEPA 不工作 - ARP 请求未转发