ARP and RARP - Quiz Explanation
The correct answers are indicated below, along with text that explains the correct answers.
1.
What is the basic purpose of the Address Resolution Protocol (ARP)?
Please select the best answer.
A.
To convert ethernet addresses to IP addresses
B.
To list all configured interfaces on a system
C.
To list the ethernet name of a host machine
D.
To resolve IP addresses to ethernet addresses
The correct answer is D.
The basic purpose of the Address Resolution Protocol (ARP) is to resolve IP addresses to ethernet addresses. ARP mediates between broadcast link-level protocols and IP protocols. Specifically, it maps 32-bit IP addresses to 48-bit ethernet addresses. You can learn more about ARP in RFC 826.
2.
What is the basic purpose of the Reverse Address Resolution Protocol (RARP)?
Please select the best answer.
A.
To resolve ethernet addresses to IP addresses
B.
To list all configured interfaces on a system
C.
To list the ethernet name of a host machine
D.
To convert IP addresses to ethernet addresses
The correct answer is A.
The basic purpose of the Reverse Address Resolution Protocol (RARP) is to convert ethernet addresses to IP addresses. RARP enables diskless machines to find their IP addresses at boot time. The RARP header is the same size as the ARP header (28 bytes), but RARP is governed by a RARP server, rather than by each client, as is the case with ARP.
3.
What command allows a user to view the ARP cache, and to add and delete entries?
Please select the best answer.
A.
ping
B.
ifconfig
C.
arp
D.
cp
The correct answer is C.
The command that allows a user to view the ARP cache, and to add and delete entries is
arp
. With the
-a
option, the command lists all ARP cache entries. You can also use
arp
to manually clear and set the ARP cache, as well as obtain a dump of the ARP cache.