ARP Process
The following scenario details the ARP process for two clients on a single network segment.
- Client 1 has the following configuration:
- Client 2 has the following configuration:
By default, most Microsoft operating systems use a cache life of 2 minutes. During the 2 minutes, the ARP cache is checked to try to avoid sending out a network broadcast to obtain resolution. When 2 minutes have elapsed, the entry is flushed from the cache.
The ARP process is different when clients are on different network segments. Because the ARP process uses broadcasts, routers will not forward the broadcasts.
Client 1 is located on Segment 1 and Client 2 is located on Segment 2. Router A connects the two segments. The following details the process between Client 1 and Client 2 in this situation.
Client 1 sends an ARP packet to Router A. Router A connects to Client 2 with an ARP request. Client 2 updates its ARP cache with the MAC address of Router A and Router A is updated with the MAC address of Client 2.
>ARP –a: displays the ARP cache.
>ARP –d: deletes a static entry from the ARP cache.
>ARP –IP: address displays the MAC address of the entered IP address.
ARP and RARP
Address Resolution Protocol (ARP) and the Reverse Address Resolution Protocol (RARP). Ways to resolve an IP address to its equivalent MAC address are ARP and RARP .
ARP is a broadcast-based resolution method and because it uses broadcasts, ARP traffic cannot pass through routers. RARP requires a server for IP-MAC resolution and is most commonly used in Unix environments. Microsoft networks (on the other hand) use ARP exclusively to resolve IP addresses.
As an example of how the ARP process works, consider the following: When a user wishes to access a resource on the network using its computer name, the name is resolved to its IP address equivalent using WINS or NetBIOS.
When the IP address of the destination device is known, the client then sends out an ARP request to obtain the device’s (or the computer’s) MAC address. When this process (which occurs solely through broadcasts) is complete, the client that initially sent the ARP request updates its ARP cache.
Broadcasts
Broadcasts are packets sent out on the cable topology with no specific destination address given (the 6-byte source address field is set to all zeros). All devices on the wire will pick up a broadcast packet to determine if it has any reason to respond. A good example of this is a common login sequence.
When a PC first comes on line, it performs a broadcast looking for a server to authenticate to. Basically, the PC is telling every device on the cable that it is looking for a server so that it can log in to the network. All devices will see this data packet, but only file servers will respond.
Note:
Basic Ethernet Transmits
Word Ether of Ethernet
Zoner Barcode Studio v2.0.13
Download Zoner Barcode Studio v2.0.13 full version for free
