3
TASK: To connect 4 computers via a switch and send data from one PC to another and read the status for the MAC table of the switch. In this lab we have connected 4 PC’s to a switch and observed the MAC table of the switch. The connectivity of this task is shown in figure below: Figure 1 4 PC's connected to a switch. After this we start the simulation we send the message from PC 3 to PC 1. Figure 2 PC3 is ready to send the data to PC1 PC3 sends the message to the Switch, after that the switch will send the data to all the PC’s connected to it. At the same time the MAC address of PC3 is stored in the switch.

DC Lab 03 Solution

Embed Size (px)

DESCRIPTION

dc

Citation preview

TASK: To connect 4 computers via a switch and send data from one PC to another and read the status for the MAC table of the switch.In this lab we have connected 4 PCs to a switch and observed the MAC table of the switch. The connectivity of this task is shown in figure below:

Figure 1 4 PC's connected to a switch.

After this we start the simulation we send the message from PC 3 to PC 1.

Figure 2 PC3 is ready to send the data to PC1

PC3 sends the message to the Switch, after that the switch will send the data to all the PCs connected to it. At the same time the MAC address of PC3 is stored in the switch.

Figure 3 PC1 receives the data

As soon as the message is send the PC1 receives the data it sends it back to the switch and the switch stores its MAC address in itself (as shown in figure below).

Figure 4 MAC address table of the switch.

The event list of the complete task is shown below:

Figure 5 Event list of the task.

CONCLUSION:From this lab we examine that when we give a data packet through a network it will first go to the switch the switch then cut this data into segments it define the source address and destination address and then broad cast it to all the host connected through it and the host which matches the MAC address will receive the packet and the rest of the host will reject it.