Network and Communications Security
A network analyst sees frames being forwarded between switch ports based on MAC addresses. At which OSI layer does this forwarding decision occur?
Show the answer
Correct answerB. Data Link layer
AWhy not this: Layer 3 forwards packets by IP address, which is what routers do, not switches.
BWhy this is right: Layer 2 uses MAC addresses and frames, which is how a switch forwards traffic.
CWhy not this: Layer 1 moves raw bits over the medium and makes no addressing decisions.
DWhy not this: Layer 4 handles end-to-end delivery with ports, not MAC-based forwarding.
MAC addresses are Layer 2 (Data Link) addresses, and a switch forwards frames by them. The Network layer is tempting because routers forward traffic, but routers decide using IP addresses at Layer 3.