Hide thumbs Also See for 1920 Series:
Table of Contents

Advertisement

2.
3.
4.
Figure 217 ARP address resolution process
If Host A and Host B are on different subnets, Host A sends a packet to Host B, as follows:
1.
2.
3.
4.
5.

ARP table

An ARP table stores dynamic and static ARP entries.
Downloaded from
www.Manualslib.com
If Host A finds no entry for Host B, Host A buffers the packet and broadcasts an ARP request. The
payload of the ARP request contains the following information:
Sender IP address and sender MAC address—Host A's IP address and MAC address.
Target IP address—Host B's IP address.
Target MAC address—An all-zero MAC address.
All hosts on this subnet can receive the broadcast request, but only the requested host (Host B)
processes the request.
Host B compares its own IP address with the target IP address in the ARP request. If they are the
same, Host B:
a.
Adds the sender IP address and sender MAC address into its ARP table.
b.
Encapsulates its MAC address into an ARP reply.
c.
Unicasts the ARP reply to Host A.
After receiving the ARP reply, Host A:
a.
Adds the MAC address of Host B into its ARP table.
b.
Encapsulates the MAC address into the packet and sends the packet to Host B.
Host A broadcasts an ARP request to the gateway. The target IP address in the ARP request is the
IP address of the gateway.
The gateway responds with its MAC address in an ARP reply to Host A.
Host A uses the gateway's MAC address to encapsulate the packet, and then sends the packet to
the gateway.
If the gateway has an ARP entry for Host B, it forwards the packet to Host B directly. If not, the
gateway broadcasts an ARP request, in which the target IP address is the IP address of Host B.
After the gateway gets the MAC address of Host B, it sends the packet to Host B.
manuals search engine
243

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents