A data link layer switch SW1 is connected with four hosts (H1, H2, H3, H4) as shown in figure below:
a) Suppose switch table is empty and switch receives a frame with source MAC address of H1 (MAC-H1) and destination MAC address of H2 (MAC-H2). What actions will be performed by the switch in this case?
b) Consider switch MAC address learning capability, how many entries are expected in switch table
c) Show all entries of switch table
d) Consider the part “a” again, but with a fully populated switch table (all entries) instead of empty table
e) H1 is unplugged from this LAN by the system administrator. Does this change affect the switch table? Explain your answer.
Answers
Answer:
Explanation:
1. Network devices use ARP to find the MAC address of the IP address they ... The IP packet will be encapsulated in an Ethernet frame with a source and destination MAC ... Now wait a second…how does H1 know about the MAC address of H2? ... The ARP table is empty so we have no clue what the MAC address of H2 is
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..
The switching table contains MAC addresses and the switch ports on which they were learned or statically configured. Packets or frames are forwarded by looking up the destination MAC address in the switching table. The switching table entries are normally dynamically learned as packets flow. ...
Routing and Switching Strategies The previous book in this series, The ... Static entries are those that are manually installed on a router by the network administrator. ... What is clear from these tables is that the routers do not have a complete ... To be complete, ip route commands for all of the unknown networks would have ...
Basic Switch Operation What an Ethernet Switch Does Ethernet switches link ... Things have changed quite a lot since Ethernet bridges were first developed in the ... for bridging local area network frames between ports of a switch, and for a few ... Frames are defined at Layer 2, or the Data Link Layer, of the Open Systems