0% found this document useful (0 votes)
75 views

Switches Learn MAC Address by Using ARP Protocol

This document describes the steps to set up a network with one switch and connected devices to learn and view MAC addresses. It involves: 1) Assigning IP addresses to connected computers. 2) Ping testing the IP addresses to ensure connectivity. 3) Using the switch command line to view the MAC address table and see which devices are connected to each port. 4) Capturing ARP packets to view the layer details and MAC address resolution process. The document also provides questions to find the local MAC address and define terms in the ARP header like the ARP cache, timeout, request and response packets.

Uploaded by

Kamran Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views

Switches Learn MAC Address by Using ARP Protocol

This document describes the steps to set up a network with one switch and connected devices to learn and view MAC addresses. It involves: 1) Assigning IP addresses to connected computers. 2) Ping testing the IP addresses to ensure connectivity. 3) Using the switch command line to view the MAC address table and see which devices are connected to each port. 4) Capturing ARP packets to view the layer details and MAC address resolution process. The document also provides questions to find the local MAC address and define terms in the ARP header like the ARP cache, timeout, request and response packets.

Uploaded by

Kamran Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

LAB # 10: MAC ADDRESS SSUET/QR/112

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

Step 1: IP Address Assignment


First of all we have to assign IP addresses for all computer in the given network setup.

Step 2: Ping All IP Address


After giving IP address to all computers we can ping all the IP addresses with each other
Pinging PC0 and PC2 from PC0:

CE-312: Data Communication. 1


LAB # 10: MAC ADDRESS SSUET/QR/112

Step 3: Learn MAC Address from Table


We click on CLI mode of switch and write the command for MAC addresses #show mac-address-table.

Step 4: Learn MAC Address In Form Of Packets


If we want to learn MAC address in packets form then:
First we click on the Simulation Tab.
After click on Auto Capture/Play button and due to this we can see ARP and many other packets flowing.

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.

CE-312: Data Communication. 2


LAB # 10: MAC ADDRESS SSUET/QR/112

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.

CE-312: Data Communication. 3

You might also like