Difficulty: Easy
Correct Answer: Bridge
Explanation:
Introduction / Context:
Interconnecting LAN segments can be done at different OSI layers. When the networks are homogeneous (same Layer-2 technology) and you want to forward frames based on MAC addresses while preserving a single Layer-3 subnet, the classic device is a bridge. Modern switches are multiport bridges, performing the same fundamental function with hardware acceleration.
Given Data / Assumptions:
Concept / Approach:
A bridge learns source MAC addresses per port and forwards unknown-unicast, multicast, or broadcast frames accordingly while filtering frames that do not need to cross segments. This reduces collisions (in older shared media) and contains unnecessary traffic. Repeaters/hubs operate at Layer-1, simply regenerating bits, and do not learn MACs. Routers operate at Layer-3 and separate IP subnets. Gateways typically imply protocol translation or higher-layer mediation.
Step-by-Step Solution:
Verification / Alternative check:
Spanning Tree Protocol (STP) is a Layer-2 control protocol used by bridges/switches to prevent loops—further evidence that bridges are the appropriate L2 interconnect for homogeneous networks.
Why Other Options Are Wrong:
Common Pitfalls:
Using “gateway” generically to describe any interconnect; forgetting that modern switches are functionally bridges with many ports.
Final Answer:
Bridge
Discussion & Comments