Switches Learn MAC Address by Using ARP Protocol
Switches Learn MAC Address by Using ARP Protocol
LAB # 10
MAC ADDRESS
OBJECTIVE
Switches learn MAC address by using ARP protocol.
HOME ASSIGNMENTS
Q1: Perform all the above mentioned steps and submit the hard copy.
NETWORK SETUP:
It shows that how to setup a network among 1 switch and their devices
When we will click on green ARP button the layer wise description will be shown.
Q2: Find out your system MAC address by using TCP/IP utility.
Q3: Analyze ARP packets and define different terms in its header.
1. ARP Cache: After resolving MAC address, the ARP sends it to the source where it
stores in a table for future reference. The subsequent communications can use the
MAC address from the table
2. ARP Cache Timeout: It indicates the time for which the MAC address in the ARP
cache can reside
3. ARP request: This is nothing but broadcasting a packet over the network to
validate whether we came across destination MAC address or not.
ARP request packet contains:
1. The physical address of the sender.
2. The IP address of the sender.
3. The physical address of the receiver is 0s.
4. The IP address of the receiver
Note, that the ARP packet is encapsulated directly into data link frame.
4. ARP response/reply: It is the MAC address response that the source receives
from the destination which aids in further communication of the data.
The terms hardware address and protocol address are used as general descriptions, but
operationally these will almost always be Ethernet six-byte hardware addresses and IP
four-byte addresses. The OpCode will be either a request or a reply.