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」指令用來顯示無線網路介面的資訊。
