Learning Bridges: Intelligent LAN Interconnection
Bridge Operation: Foundations of Intelligent LAN Interconnection
Read aloud is unavailable in this browser.
The Problem of LAN Segmentation
In the early days of Ethernet networking, a fundamental problem emerged as organizations grew: How do you connect multiple LAN segments while maintaining performance and reliability?
Early Ethernet used shared media—a single coaxial cable that all stations connected to. This worked well for small networks, but as networks grew, collision rates increased dramatically. Every additional device meant more contention for the shared medium, and eventually, network performance degraded to unacceptable levels.
The solution came in the form of network bridges—intelligent devices that could selectively forward traffic between network segments based on destination addresses. Unlike simple repeaters that blindly amplified all signals, bridges made informed decisions about which frames needed to cross segment boundaries.
By the end of this page, you will understand the fundamental operation of network bridges, including their architectural role in the OSI model, how they differ from other network devices, the mechanics of frame processing, and why bridges represented a revolutionary advancement in LAN technology. This knowledge forms the foundation for understanding modern switches, which are essentially high-performance multi-port bridges.
Historical Context and Evolution
To appreciate the significance of bridges, we must understand the network environment from which they emerged.
The Early Ethernet Challenge
Original Ethernet (10BASE5 and 10BASE2) used a shared bus topology where all devices connected to a single coaxial cable segment. The CSMA/CD protocol governed access to this shared medium, but as networks grew, several problems became apparent:
-
Collision Domain Size: Every device on the segment was part of the same collision domain. With 100 devices, a packet transmitted by any station could potentially collide with transmissions from 99 other stations.
-
Distance Limitations: The maximum segment length was constrained by the minimum frame size requirement—signals needed to propagate across the entire segment within one slot time (51.2 μs for 10 Mbps Ethernet) to enable collision detection.
-
Aggregate Bandwidth: All devices shared the 10 Mbps bandwidth. More devices meant less available bandwidth per device.
-
Fault Isolation: A single malfunctioning device could disrupt the entire network segment by generating excessive traffic or electrical interference.
| Era | Device | Layer | Key Advancement | Limitation |
|---|---|---|---|---|
| 1970s | Repeater | Physical (L1) | Signal regeneration for extended reach | No traffic isolation; all frames propagate |
| Early 1980s | Hub | Physical (L1) | Multi-port repeater; star topology | Single collision domain; no intelligent forwarding |
| Mid 1980s | Bridge | Data Link (L2) | Address-based forwarding; collision domain separation | Limited port count; software-based forwarding |
| 1990s | Switch | Data Link (L2) | Hardware-based forwarding; microsecond latency | Broadcast domain not segmented |
| 1990s+ | Router | Network (L3) | Logical addressing; broadcast domain separation | Higher latency; more complex configuration |
The Bridge Innovation
The network bridge, developed in the early 1980s, introduced a revolutionary concept: selective forwarding based on destination addresses. Instead of blindly propagating all signals like a repeater, a bridge examined each incoming frame, determined whether the destination was on the same segment or a different segment, and made intelligent forwarding decisions.
This seemingly simple innovation had profound implications:
-
Collision Domain Segmentation: Each port of a bridge defined a separate collision domain. Devices on one segment could transmit simultaneously with devices on another segment without collision.
-
Bandwidth Multiplication: By isolating local traffic, bridges effectively multiplied available bandwidth. Traffic between devices on the same segment never consumed bandwidth on other segments.
-
Fault Containment: Problems on one segment wouldn't automatically propagate to other segments, improving overall network reliability.
The first commercial bridges were developed by companies like DEC (Digital Equipment Corporation) and were software-based, processing frames using general-purpose CPUs. While slower than modern hardware-based switches, they represented a fundamental advancement in network architecture.
Bridge Architecture and OSI Model Position
Understanding where bridges fit in the OSI model is essential for grasping their capabilities and limitations. Bridges operate at Layer 2 (Data Link Layer), which gives them specific powers and constraints.
Layer 2 Operation
Operating at the Data Link Layer means bridges:
-
Process Complete Frames: Bridges receive entire Ethernet frames, including the preamble, destination MAC address, source MAC address, type/length field, payload, and Frame Check Sequence (FCS).
-
Make Decisions Based on MAC Addresses: The forwarding decision is based solely on the 48-bit destination MAC address. Bridges have no concept of IP addresses, TCP ports, or higher-layer protocols.
-
Are Transparent to Higher Layers: From the perspective of the Network Layer and above, the bridge is invisible. Hosts don't need to know bridges exist—there's no bridge address to configure in applications.
-
Maintain Frame Integrity: Bridges verify the FCS before forwarding and discard corrupted frames. They also regenerate the FCS after forwarding (though in practice, the original FCS is typically preserved if no modifications are made).
Internal Architecture Components
A typical bridge consists of several key components:
1. Physical Interfaces (PHY)
Each port has a physical layer interface that handles signal encoding/decoding, electrical signaling, and synchronization. In modern implementations, this is typically an integrated PHY chip supporting various Ethernet speeds.
2. MAC Controller
The MAC controller handles frame framing (preamble, SFD detection), address recognition, and FCS verification. It manages the reception and transmission of complete Ethernet frames.
3. Frame Buffers
Incoming frames are stored in buffers while the bridge determines the appropriate forwarding action. Buffer size affects the bridge's ability to handle traffic bursts without frame loss. Early bridges used shared memory, while modern implementations use per-port or per-queue buffering.
4. Forwarding Database (MAC Address Table)
This is the heart of the bridge—a table that maps MAC addresses to ports. When a frame arrives, the bridge looks up the destination MAC address in this table to determine where to send the frame. This table is built automatically through a process called learning.
5. Forwarding Logic
The decision engine that consults the forwarding database and implements forwarding, filtering, and flooding policies. Modern bridges implement this in hardware (ASICs) for wire-speed performance.
6. Learning Engine
Examines the source MAC address of incoming frames and updates the forwarding database with the association between that address and the port where the frame arrived.
7. Aging Timer
Manages the lifecycle of entries in the forwarding database, removing stale entries that haven't been seen for a configurable period (typically 300 seconds by default).
The terms 'bridge' and 'switch' are often used interchangeably, but there's a subtle distinction. A bridge traditionally refers to a device with 2-4 ports that connects network segments, while a switch refers to a multi-port bridge (8, 24, 48 ports or more) with hardware-based forwarding. Functionally, they operate identically—both are Layer 2 forwarding devices that learn MAC addresses and make forwarding decisions. Modern Ethernet switches are, in essence, high-performance bridges with many ports.
Frame Processing Pipeline
When a frame arrives at a bridge port, it undergoes a specific sequence of processing steps. Understanding this pipeline is crucial for predicting bridge behavior and troubleshooting network issues.
Step-by-Step Frame Processing
- •Frame Reception: The PHY receives electrical signals and decodes them into bits. The MAC controller detects the preamble and Start Frame Delimiter (SFD), then begins capturing the frame.
- •FCS Verification: After receiving the complete frame (indicated by the interframe gap following transmission), the bridge calculates the FCS and compares it to the received FCS. If they don't match, the frame is silently discarded—no error notification is sent to the sender.
- •Source Address Learning: The bridge extracts the source MAC address and associates it with the receiving port. If the address is already in the table on the same port, the aging timer is reset. If it's on a different port, the entry is updated (the device may have moved).
- •Destination Address Lookup: The bridge extracts the destination MAC address and searches the forwarding database.
- •Forwarding Decision: Based on the lookup result, the bridge decides whether to forward, filter, or flood the frame.
- •Frame Transmission: If forwarding is required, the frame is queued for transmission on the appropriate port(s). The bridge waits for the medium to be available (per CSMA/CD rules) before transmitting.
Forwarding Decisions in Detail
The destination address lookup leads to one of three outcomes:
1. Forward (Unicast Match)
If the destination MAC address is found in the forwarding database and the associated port is different from the receiving port, the frame is forwarded to that specific port only. This is the most common case and represents the bridge efficiently directing traffic.
2. Filter (Same Port)
If the destination MAC address is found in the forwarding database and the associated port is the same as the receiving port, the frame is discarded (filtered). This means the destination is on the same segment as the source—there's no need for the frame to cross the bridge. This is the key to collision domain segmentation.
3. Flood (Unknown Destination)
If the destination MAC address is not found in the forwarding database, the bridge doesn't know which port leads to the destination. The only safe action is to flood the frame—send copies out all ports except the receiving port. This ensures the frame reaches its destination, wherever it may be. The response from the destination will be learned, so future frames to that address can be forwarded efficiently.
| Condition | Action | Result |
|---|---|---|
| Destination found, different port | Forward | Frame sent to specific port; local traffic isolated |
| Destination found, same port | Filter | Frame discarded; collision domain separated |
| Destination not found | Flood | Frame sent to all ports (except source); destination will be learned on response |
| Destination is broadcast (FF:FF:FF:FF:FF:FF) | Flood | Frame sent to all ports except source; bridges forward broadcasts |
| Destination is multicast | Flood (default) | Unless IGMP snooping is enabled, multicast frames are flooded |
| FCS error detected | Discard | Frame silently dropped; error counters incremented |
Bridges always flood broadcast frames (destination FF:FF:FF:FF:FF:FF). This is by design—broadcasts are intended to reach all devices in a network segment. However, this means bridges do NOT segment broadcast domains. All devices connected through bridges share the same broadcast domain. This becomes critical when understanding network scalability and is the reason VLANs and routers are needed for larger networks.
Forwarding Modes: Store-and-Forward vs. Cut-Through
Bridges (and modern switches) can operate in different forwarding modes, each representing a tradeoff between latency and error checking.
Store-and-Forward
In store-and-forward mode, the bridge receives and buffers the entire frame before making a forwarding decision. This allows:
-
Complete FCS Verification: Corrupted frames are detected and discarded before forwarding, preventing error propagation.
-
Speed Mismatch Handling: Frames can be received at one speed and transmitted at another (e.g., 100 Mbps to 1 Gbps).
-
Reliable Operation: This mode is required for any scenario where error checking is critical.
The tradeoff is latency. The bridge must wait for the entire frame before forwarding, introducing a delay equal to the frame transmission time. For a 1518-byte frame at 10 Mbps, this is about 1.2 ms. At 1 Gbps, it drops to 12 μs.
- •Receives entire frame before forwarding
- •Performs complete FCS verification
- •Discards corrupted frames
- •Supports speed conversion between ports
- •Higher latency (frame transmission time)
- •Required for error-sensitive applications
- •Standard mode for most enterprise switches
- •Begins forwarding after reading destination address
- •Only first 14 bytes needed (6+6+2)
- •Cannot verify FCS before forwarding
- •Propagates corrupted frames
- •Extremely low latency (~10 μs typical)
- •Requires matched port speeds
- •Used in latency-sensitive environments (HPC, trading)
Cut-Through Mode
In cut-through mode, the bridge begins forwarding as soon as it reads the destination MAC address—typically within the first 14 bytes of the frame. The rest of the frame is forwarded on-the-fly, bit-by-bit.
Advantages:
- Minimal Latency: Only ~10 μs delay regardless of frame size
- Consistent Delay: Latency is deterministic, important for real-time applications
Disadvantages:
- Error Propagation: Since FCS is at the end of the frame, corrupted frames are forwarded before the error is detected
- Speed Matching Required: Input and output ports must operate at the same speed
Fragment-Free Mode (Modified Cut-Through)
A hybrid approach that waits for the first 64 bytes before forwarding. This catches runt frames (fragments caused by collisions) while still offering lower latency than store-and-forward. Since Ethernet's minimum frame size is 64 bytes, any frame shorter than this is invalid and results from a collision.
| Mode | Latency | Error Checking | Speed Conversion | Use Case |
|---|---|---|---|---|
| Store-and-Forward | High (frame-size dependent) | Full FCS verification | Supported | General enterprise, reliability-critical |
| Cut-Through | Very Low (~10 μs fixed) | None before forwarding | Not supported | High-frequency trading, HPC clusters |
| Fragment-Free | Low (64-byte wait) | Runt detection only | Not supported | Legacy hybrid environments |
Collision Domain Segmentation
One of the most important functions of a bridge is collision domain segmentation. This concept is fundamental to understanding why bridges dramatically improve network performance.
What is a Collision Domain?
A collision domain is a network segment where simultaneous transmissions from any two devices can result in a collision. In a shared Ethernet environment, all devices on the same collision domain compete for access to the medium using CSMA/CD.
Key properties of collision domains:
- All devices share the available bandwidth
- Only one device can transmit at a time without collision
- Collisions increase as the number of devices increases
- Collision detection requires signal propagation within one slot time
How Bridges Create Collision Domain Boundaries
When a frame is transmitted on one segment:
- The bridge receives and buffers the frame entirely
- The bridge makes a forwarding decision based on the destination MAC address
- If the destination is on the same segment (filtering), no traffic crosses the bridge
- If the destination is on a different segment, the bridge waits for that segment to be idle, then transmits
The critical insight is that transmissions on different segments are independent. While Host A transmits to Host B on Segment 1, Host C can simultaneously transmit to Host D on Segment 2. This is impossible with a simple hub or repeater.
Quantifying the Improvement
Consider a network with 100 devices. Without bridging:
- All 100 devices share one collision domain
- Effective throughput degrades significantly due to collisions
- At high load, collision probability approaches 100%
With 10 bridges creating 10 segments of 10 devices each:
- Each collision domain has only 10 devices
- Collision probability within each domain is much lower
- If traffic is mostly local, aggregate throughput can approach 10× the unsegmented network
Modern switches take collision domain segmentation to its logical extreme: one device per collision domain. With each device connected to its own switch port, there can be no collisions (full-duplex operation eliminates CSMA/CD entirely). This is why modern switched networks rarely experience the collision problems that plagued early shared Ethernet.
Transparent Bridging Principles
Bridges implement a principle called transparent bridging, defined in IEEE 802.1D. The term 'transparent' has specific technical meaning: the presence of bridges should be invisible to end hosts.
Requirements for Transparent Bridging
For a bridge to be truly transparent, it must satisfy these conditions:
-
No Host Configuration Required: Hosts should not need to be aware of bridges. The same host NIC configuration works whether or not bridges exist in the network.
-
Self-Configuring: Bridges should automatically build their forwarding tables without manual configuration of MAC addresses.
-
No Frame Modification: Bridges should not modify the content of frames (except regenerating timing information). Source and destination MAC addresses, payload, and higher-layer protocols pass through unchanged.
-
Loop-Free Forwarding: Even in redundant topologies, frames should not loop infinitely. (This requirement led to the Spanning Tree Protocol, covered in Module 4.)
- •Learning: Automatically discover which MAC addresses are reachable through which ports by examining the source address of received frames. No manual configuration required.
- •Forwarding (and Filtering): Use the learned information to intelligently forward frames only where needed, filtering traffic that doesn't need to cross the bridge.
- •Flooding: When the destination is unknown, safely deliver the frame by sending it everywhere (except back to the source port). This ensures connectivity even before learning is complete.
Why Transparency Matters
The transparency principle was a deliberate engineering choice with significant benefits:
Scalability: Networks can be extended or reorganized by adding bridges without reconfiguring every host. This was crucial in the 1980s-90s when IP configuration was often manual.
Interoperability: Any Ethernet device can work with any transparent bridge without vendor-specific configuration. A 1985 networking card works with a 2024 switch.
Simplified Troubleshooting: Hosts communicate as if directly connected. Protocol behavior remains consistent regardless of bridge presence.
Plug-and-Play Operation: New devices can be connected and immediately participate in the network. The bridge automatically learns their presence.
Contrast with Non-Transparent Bridging
Some bridging technologies require explicit configuration or host awareness:
- Source-Route Bridging (IBM Token Ring): Hosts included routing information in frames, specifying the path through bridges.
- Translational Bridging: Converting between different frame formats (e.g., Ethernet to Token Ring) requires frame modification.
The simplicity of transparent bridging contributed to Ethernet's dominance over competing technologies.
Performance Characteristics and Metrics
Understanding bridge performance is essential for network design. Several key metrics characterize bridge operation:
1. Forwarding Rate (Frames Per Second)
This measures how many frames a bridge can process per unit time. It depends on:
- Processing architecture (software vs. hardware)
- Frame size (smaller frames are harder to process at line rate)
- Port count and contention
For 10 Mbps Ethernet, maximum frame rate is:
- Minimum-size frames (64 bytes + 20 bytes IFG/preamble): ~14,880 frames/second
- Maximum-size frames (1518 bytes + 20 bytes): ~812 frames/second
A bridge must match or exceed these rates to avoid dropping frames under load.
| Speed | Min-Size Frame Rate | Max-Size Frame Rate | Challenge |
|---|---|---|---|
| 10 Mbps | 14,880 fps | 812 fps | Early software bridges could handle this |
| 100 Mbps | 148,800 fps | 8,127 fps | Requires hardware assistance |
| 1 Gbps | 1,488,095 fps | 81,274 fps | Requires ASIC-based forwarding |
| 10 Gbps | 14,880,952 fps | 812,743 fps | Modern switch ASICs required |
| 100 Gbps | 148,809,523 fps | 8,127,433 fps | State-of-the-art silicon |
2. Latency
Bridge latency is the time from receiving the last bit of a frame to transmitting the first bit on the output port. This includes:
- Frame reception time (depends on frame size and input speed)
- FCS verification (if store-and-forward)
- Lookup time in forwarding database
- Queuing delay (if output port is busy)
- Transmission scheduling
Typical values:
- Store-and-forward at 1 Gbps: 10-15 μs for min-size frames
- Cut-through: 3-10 μs
- Software bridges: 100+ μs
3. Buffer Size
Buffers hold frames waiting to be transmitted. Insufficient buffering causes frame loss during traffic bursts. Buffer sizing involves tradeoffs:
- Larger buffers: Better burst absorption, but higher latency under congestion
- Smaller buffers: Lower latency, but more frame loss
- Modern best practice: "Buffer bloat" concerns have led to smaller buffers with intelligent queue management
4. MAC Address Table Size
The forwarding database must be large enough to hold all active MAC addresses. If the table is full:
- New addresses cannot be learned
- Flooding increases (unknown destinations)
- In worst case, security implications (attackers can force flooding)
Typical table sizes:
- Early bridges: 1,000-8,000 entries
- Enterprise switches: 32,000-128,000 entries
- Data center switches: 256,000+ entries
A bridge that can process and forward frames as fast as they arrive is said to operate at 'line rate' or 'wire speed'. This means no frames are lost due to processing limitations. Modern switches achieve this through purpose-built ASICs (Application-Specific Integrated Circuits) that implement forwarding logic in hardware, enabling billions of lookup operations per second.
KEEP LEARNING
Keep learning for free.
Read the complete lesson, save your notes and pick up where you left off with a free account. No card needed.