You are on page 1of 25

THE SWITCH MAC ADDRESS TABLE

Submitted By,
Adisurya.J (17351EC001)
Kalyan.T (17351EC020)
Sai Narendra.T (17351EC040)
Chandra Sekhar Reddy.G (17351EC008)

Under the Esteemed Guidance of

Mr. T.VIJAYA KANTH, M.Tech., MISTE Mr.T. Narendra Kumar, M.Tech.,


Assistant Professor Assistant Professor

DIPLOMA IN ELECTRONICS AND COMMUNICATION ENGINEERING

Devineni Venkata Ramana & Dr. Hima Sekhar

MIC College of Technology


 Kanchikacherla-521180, Krishna Dist., A.P, India.  

ACADEMIC YEAR: 2019-2020


CONTENTS

• Abstract
• Motivation
• Objective
• Introduction
• Topology Diagram (After All Corrections)
• Designing Steps (Algorithm)
• Address table
• Snaps
• Chapter Explanations
• Switch Linux Commands
• Conclusion
• References

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 2
ABSTRACT
Layer 2 LAN switch is to deliver Ethernet frames to host devices on the local
network. The switch records host MAC addresses that are visible on the

network, and maps those MAC addresses to its own Ethernet switch ports.
This process is called building the MAC address table. When a switch receives
a frame from a PC, it examines the frame’s source and destination MAC
addresses. The source MAC address is recorded and mapped to the switch port
from which it arrived. Then the destination MAC address is looked up in the
MAC address table. If the destination MAC address is a known address, then
the frame is forwarded out of the corresponding switch port associated with
that MAC address. If the MAC address is unknown, then the frame is
broadcasted out of all switch ports, except the one from which it came.

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 3
MOTIVATION
The purpose of a switch maintaining an address table called MAC address
table is in order to efficiently switch frames between interfaces. When the
switch receives a frame, it associates the MAC address of the sending device
with the switch port on which it was received.
A switch builds its MAC address table by recording the MAC address of
each device connected to each of its ports. The switch uses the information in
the MAC address table to send frames destined for a specific device out the
port, which has been assigned to that device

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 4
OBJECTIVE

Part 1: Identify the Problem


Part 2: Implement Network Changes
Part 3: Verify Full Functionality
Part 4: Document Findings and Configuration Changes

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 5
INTRODUCTION

 A switch builds its MAC address table by recording the MAC


address of each device connected to each of its ports.
The switch uses the information in the MAC address table to
send frames destined for a specific device out the port, which
has been assigned to that device.

 A MAC address table, sometimes called a Content


Addressable Memory (CAM) table, is used on
Ethernet switches to determine where to forward traffic on a
LAN. ... It would encapsulate an Ethernet frame and send it off
toward the switch.

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 6
Network Topology

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 7
Algorithm steps:

Build the Network and Configure Basic Device Settings

Step:1 Cable the network as shown in the topology.


Step:2 Configure PC IP Addressing.
Step:3 Configure basic settings for each switch.
Step:4 Initialize and reload the switch.
Step:5 Test connectivity

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 8
Address Table :

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 9
Step 1: Cable the network as shown in the topology.
Attach the devices as shown in the topology diagram, and cable as necessary

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 10
Step:3 Configure basic settings for each switch.
Step:4 Initialize and reload the switch.

AT SWITCH1:

Sw1(Config)# interface vlan1


Sw1(Config-if)# ip address 192.168.1.20 255.255.255.0
Sw1(Config-if)# no shutdown
Sw1(Config-if)# exit
Sw1(Config)# exit
Sw1# copy running-config startup-config

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 11
AT SWITCH2:

Sw2(Config-if)# ip address 192.168.1.21 255.255.255.0


Sw2(Config-if)# no shutdown
Sw2(Config-if)# exit
Sw2(Config)# interface vlan1
Sw2(Config)# exit
Sw2# copy running-config startup-config

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 12
AT SWITCH3:

Sw3(Config)# interface vlan1


Sw3(Config-if)# ip address 192.168.1.22 255.255.255.0
Sw3(Config-if)# no shutdown
Sw3(Config-if)# exit
Sw3(Config)# exit
Sw3# copy running-config startup-config

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 13
AT SWITCH4:

Sw4(Config)# interface vlan1


Sw4(Config-if)# ip address 192.168.1.23 255.255.255.0
Sw4(Config-if)# no shutdown
Sw4(Config-if)# exit
Sw4(Config)# exit
Sw4# copy running-config startup-config

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 14
The Packet At Source
Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 15
Sending ARP To Identify The Destination Mac Address
Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 16
Sending Packet To Its Destination After Identifying The Destination MAC Address

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 17
RESULT SNAPS

SOURCE
Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology
DESTINATION 18
At Switch 1:

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 19
At Switch 2:

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 20
At Switch 3:

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 21
At Switch 4:

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 22
CONCLUSION:

The switch maintains an address table called MAC address table


in order to maintain efficiently switch frames between
interfaces.
When the switch receives a frame,it associates the MAC address
of the sending device with the switch port on which it was
received.

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 23
REFERENCES

 https://www.freeccnastudyguide.com/study-guides/ccna/ch7/7-1-mac-address-tabl
e
/
 https://en.wikipedia.org/wiki/MAC_address
 https://
community.fs.com/blog/switch-mac-address-whats-it-and-how-does-it-work.html
 https://www.ciscopress.com/articles/article.asp?p=2181835&seqNum=5
 https://www.pearsonitcertification.com/articles/article.aspx?p=2339639&seqNum=3

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 24
THANK YOU

Monday, July 05, 2021 DVR & Dr. HS MIC College of Technology 25

You might also like