๐Ÿ”Œ Network Device: Bridge

A Bridge is a networking device that operates at Layer 2 (Data Link Layer) of the OSI model. It is used to connect two or more network segments within a local area network (LAN), helping to filter traffic and reduce collisions.


๐Ÿ”น What is a Bridge?

A Bridge is a device used to divide large networks into smaller segments. It helps in controlling traffic between segments, increasing the efficiency of network communications. Unlike a hub or a switch, which broadcasts data to all devices, a bridge forwards data only to the segment where the destination device is located, improving network performance.


๐Ÿ”น How Does a Bridge Work?

  1. Learning: The bridge learns the MAC addresses of devices on each network segment.
  2. Filtering: It filters frames based on destination MAC addresses. If the destination device is on the same segment, it is not forwarded.
  3. Forwarding: If the destination device is on a different segment, the bridge forwards the frame to the appropriate segment.

๐Ÿ”น Types of Bridges

TypeDescription
Transparent BridgeOperates without requiring any changes to the network. It simply forwards frames between segments based on MAC addresses.
Source Route BridgeUses routing information contained within the data frames themselves to determine forwarding.
Learning BridgeLearns and updates the MAC address table dynamically as it observes network traffic.
Spanning Tree BridgeUses the Spanning Tree Protocol (STP) to prevent network loops by disabling some paths in the network.

๐Ÿ”น Bridge vs. Other Devices

FeatureSwitchRouterBridge
OSI LayerLayer 2 (Data Link)Layer 3 (Network)Layer 2 (Data Link)
Forwarding LogicUses MAC addressesUses IP addressesUses MAC addresses
Primary RoleSegmentation and FilteringInter-network RoutingSegmenting a large network into smaller parts
Loop PreventionUses STP (Spanning Tree Protocol)Uses routing protocolsUses STP to prevent loops

๐Ÿ”น Key Bridge Functions

  1. Segmentation: Bridges break up large networks into smaller segments, reducing traffic and collisions.
  2. Collision Domain Reduction: By dividing networks, a bridge reduces the size of collision domains, improving network performance.
  3. Filtering: Bridges only forward data to the appropriate segment, improving network efficiency.
  4. Loop Prevention: Bridges use the Spanning Tree Protocol (STP) to detect and prevent loops, which can create network congestion.

๐Ÿ› ๏ธ Common Use Cases

  • LAN Segmentation: Bridging helps to divide a large LAN into smaller, more manageable segments.
  • Reducing Collisions: By segmenting the network, bridges help reduce the chance of data collisions.
  • Improving Network Performance: By limiting traffic to only the necessary segments, bridges increase overall network efficiency.
  • Linking Different Media Types: A bridge can connect different types of network media, such as Ethernet to Wi-Fi.

๐Ÿ”น Bridge in OSI & TCP/IP Models

OSI LayerRole of Bridge
Layer 2Forwards data frames based on MAC addresses, helps segment the network into smaller collision domains

๐Ÿ“ Summary

Bridges are used in networking to reduce traffic and improve efficiency by segmenting larger networks. They operate at the Data Link layer, using MAC addresses to filter and forward frames. With features like loop prevention and collision domain reduction, bridges are crucial in ensuring smooth and efficient network operation.


Next Up: Hubs, Repeaters, and Other Basic Networking Devices