What Addressing Information Is Recorded By A Switch To Build Its Mac Address Table?
What Addressing Information Is Recorded By A Switch To Build Its Mac Address Table?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What Addressing Information Is Recorded By A Switch To Build Its Mac Address Table?
Firstly, the switch will inspect the frames that are coming from the data link layer. Now, let us learn, how the switch will dynamically build the source address table. Let us learn about the layer 2 switch in detail.
The switch can able to separate the collision domains in a network. For example, when Device A wants to send a frame to Device B, the sent frame can only be received by Device B. Similarly, when Device C wants to send a frame to Device D, then only the receiver D can able to get the frame. All the local communications in a local area network are called the one-to-one connection.
The switch in a local area network will give a full bandwidth when the communication is going on in a network. It can also create a broadcast domain, a broadcast domain is nothing but the switched local area network using the FF-FF-FF-FF-FF-FF in a destination mac address. And all the other nodes in the domain can able to hear the message that is sent by any device.
The forwarding of the frames is done by the mac addresses and by the creation of the source address table. But what actually, the source address table? The other name for the source address table is called the mac address table. The main purpose of a source address table is to know the destination address of any frame on a network, i.e to know exactly where to transmit the data traffic on a local area network.
Now, let us know how to build the source address table in detail. The switch will copy the source mac address after we turn on the switch. After this, it will build a table for all the connected devices and the ports that are associated with them. The below figure is called the source address table. For example, when computer A wants to send a frame to computer B, then the switch will transmit the frame to the port where computer B is attached to.
Similarly, it happens when Device C wants to send a frame to Device D. The switch will forward the packet to where Device D is connected. But what if the new devices are added to the switch. Let us take an example to understand this concept. Let say two new devices are added into the switch which is plugged into plug 7 and plug 8, here the source address cable doesn’t change.
The switch can store the mac address of the newly connected device only after the devices want to send a frame to the other frame. The switch is not able to update the source address table unless it can receive the frame from the new device.
Let us take a simple example, to understand this concept in detail. When a frame is forwarded from the new device, it will check the source mac address. Then it will be able to update the source address table.