Which device operates at layer 2 and makes forwarding decisions based on MAC addresses?

Study for the Network+ exam with Jason Dion's Course Test. Dive into multiple-choice questions, detailed explanations, and hints that prepare you for success. Secure your certification with confidence!

Multiple Choice

Which device operates at layer 2 and makes forwarding decisions based on MAC addresses?

Explanation:
In the data link layer, forwarding decisions are based on MAC addresses. A switch is the device built for this purpose: it learns which MAC addresses can be reached through which ports by inspecting the source MAC of frames as they arrive. It stores this in a MAC address table and uses it to forward frames only to the port where the destination device is reachable, flooding only if the destination is unknown. This per-port forwarding provides efficient, scalable traffic isolation for Ethernet networks. A router operates at the network layer and makes decisions using IP addresses, not MACs. A hub operates at the physical layer and simply repeats signals to all ports, spreading traffic everywhere. A bridge also works at layer 2, but switches are the more common, higher-port-count, higher-performance devices used today for MAC-based forwarding, which is why the switch is the best fit for this function.

In the data link layer, forwarding decisions are based on MAC addresses. A switch is the device built for this purpose: it learns which MAC addresses can be reached through which ports by inspecting the source MAC of frames as they arrive. It stores this in a MAC address table and uses it to forward frames only to the port where the destination device is reachable, flooding only if the destination is unknown. This per-port forwarding provides efficient, scalable traffic isolation for Ethernet networks.

A router operates at the network layer and makes decisions using IP addresses, not MACs. A hub operates at the physical layer and simply repeats signals to all ports, spreading traffic everywhere. A bridge also works at layer 2, but switches are the more common, higher-port-count, higher-performance devices used today for MAC-based forwarding, which is why the switch is the best fit for this function.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy