LPIC-2 Exam 201 (Linux Engineer) — Question 28

Which of the following commands lists IPv4 addresses and MAC addresses of network nodes that the local system has seen on its directly connected IP networks?

Answer options

Correct answer: A

Explanation

The correct answer is A, arp, as it is specifically designed to map IP addresses to MAC addresses on the local network. B, ifconfig, is used for configuring network interfaces, C, ipadm, is for managing IP addresses on Solaris systems, and D, iwlist, is used for wireless network scanning, none of which provide the ARP table functionality.