ARP Flashcards
(47 cards)
What does ARP stand for?
Address Resolution Protocol
ARP is used to map logical addresses to physical addresses.
What are the two levels of addressing required for packet delivery?
- Logical address
- Physical address
What type of address is recognized at the network level?
Logical address
What is a physical address?
A local address that should be unique locally but not necessarily universally
What is an example of a physical address in Ethernet?
48-bit MAC address
What is the purpose of address mapping?
To associate a logical address with its corresponding physical address
What are the two types of mapping used in ARP?
- Static mapping
- Dynamic mapping
What protocols are used for dynamic mapping?
- Address Resolution Protocol (ARP)
- Reverse Address Resolution Protocol (RARP)
True or False: RARP is still widely used in modern networks.
False
What happens when a host needs to send an IP datagram to another host?
It must find the physical address of the receiver
How does ARP find the physical address of another host?
By sending an ARP query packet
What does an ARP query packet include?
- Sender’s physical address
- Sender’s IP address
- Receiver’s IP address
How is an ARP query packet transmitted?
It is broadcast over the network
What does the ARP response packet contain?
- Recipient’s IP address
- Recipient’s physical address
What is the difference between ARP requests and replies?
ARP requests are broadcast; ARP replies are unicast
What is the first step in the ARP process when a sender knows the target IP address?
Create an ARP request message
In Case 1 of ARP usage, who is the sender?
A host wanting to send a packet to another host on the same network
In Case 2 of ARP usage, what does the sender need to do if sending to another network?
Look up the IP address of the next hop router
In Case 3 of ARP usage, who is the sender?
A router that has received a datagram destined for a host on another network
In Case 4 of ARP usage, what must the sender do if the datagram is destined for a host in the same network?
Map the destination IP address to a physical address
Fill in the blank: ARP operates at the ______ layer of the TCP/IP protocol suite.
Data link
What is the hardware type field in an ARP packet?
A 16-bit field defining the type of network
What is the protocol type field in an ARP packet for IPv4?
0800
What does the hardware length field in an ARP packet define?
The length of the physical address in bytes