Which of the following commands can be used to list IPv4 addresses and MAC addresses for IP devices that the system has seen on the local network?
A.
arp
B.
ifconfig
C.
ipadm
D.
iwlist
题解
选项 A,「arp」指令可以用来管理系统的 ARP 缓存,而 ARP 是地址解析协定(Address Resolution Protocol),可用 IPv4 地址来查找对应到的 MAC 地址。此为正确答案。
选项 B,「ifconfig」指令可以设置网络界面。
选项 C,没有「ipadm」指令。
选项 D,「iwlist」指令用来显示无线网络界面的信息。
