A network switch forwards frames based on which address?
Network switches operate at Layer 2 of the OSI model, utilizing Media Access Control (MAC) addresses to make forwarding decisions for frames within a local area network. A switch learns the MAC addresses of connected devices by examining the source MAC address of incoming frames and stores this information in its MAC address table (CAM table). When a frame arrives, the switch looks up the destination MAC address in this table to forward the frame out the correct port, ensuring efficient communication within the segment.
Why this answer
A network switch operates at Layer 2 (Data Link Layer) of the OSI model and uses MAC addresses to make forwarding decisions. When a frame arrives, the switch examines the destination MAC address, looks it up in its MAC address table (CAM table), and forwards the frame only to the port associated with that MAC address, reducing collision domains and improving network efficiency.
Exam trap
CompTIA often tests the distinction between Layer 2 switching (MAC addresses) and Layer 3 routing (IP addresses), and the trap here is that candidates mistakenly associate 'forwarding' with IP addresses because they think of routers, forgetting that the question specifically asks about a switch.
Why the other options are wrong
A network switch operates at Layer 2 of the OSI model and forwards frames based on MAC addresses, not IP addresses. IP addresses are used by routers (Layer 3) for packet forwarding.
A network switch forwards frames based on MAC addresses, not port numbers. Port numbers are used by transport layer protocols (TCP/UDP) to identify applications, not for frame forwarding at layer 2.
A network switch operates at Layer 2 (Data Link layer) and forwards frames based on MAC addresses, not domain names, which are used at Layer 7 (Application layer) for human-readable addressing.