In a local area network, how does a switch know which device is connected to which port?
Think about how switches learn from the traffic they receive.
Switches build a MAC address table by looking at the source MAC address of each frame they receive and associating it with the port it came from. This helps them forward frames only to the correct port.
What does a network bridge do in a LAN?
Think about how bridges help reduce traffic between network parts.
A bridge connects separate network segments and uses MAC addresses to decide whether to forward or block traffic, reducing unnecessary data on each segment.
Consider a network with multiple switches connected in a loop without any special protocol. What problem can occur and why?
Think about what happens when frames keep circulating without a stop.
Without protocols like Spanning Tree Protocol, loops cause broadcast frames to be forwarded repeatedly, flooding the network and causing a broadcast storm.
How does a switch differ from a hub when forwarding data in a network?
Consider how each device treats incoming data frames.
A switch uses its MAC address table to send data only to the correct port, reducing unnecessary traffic. A hub simply sends data to all ports, causing more collisions and traffic.
In a network with multiple switches connected in loops, how does STP prevent broadcast storms?
Think about how STP controls which paths are active.
STP works by detecting loops and disabling some switch ports temporarily, so the network forms a tree structure without loops, preventing broadcast storms.