Network Devices: Repeaters, Hubs, Bridges, Switches, and Routers
Bridge: The First Layer 2 Device and Intelligent Frame Forwarding
Read aloud is unavailable in this browser.
The Leap to Layer 2 Intelligence
The repeater and hub solved the problem of physical signal extension but introduced a critical limitation: as networks grew, the single collision domain became a performance bottleneck. Every device competed for the same bandwidth, collisions increased proportionally with device count, and network performance degraded unacceptably.
The bridge represented a conceptual breakthrough—the first networking device to operate at the Data Link Layer (Layer 2) of the OSI model. Instead of blindly repeating every signal, a bridge examines each frame's destination MAC address and makes an intelligent forwarding decision: send the frame only where it's needed, or drop it if the destination is on the same segment as the source.
This seemingly simple intelligence—learning which devices are connected to which ports and forwarding selectively—transformed network design. Suddenly, large networks could be segmented into smaller, independent collision domains, each operating at full efficiency.
This page provides comprehensive coverage of network bridges—their operational principles, MAC address learning algorithms, forwarding table management, store-and-forward architecture, collision domain segmentation, bridge types, and the fundamental concepts that directly evolved into modern switch technology.
Bridge Fundamentals
A bridge is a network device that operates at the Data Link Layer (Layer 2) of the OSI model. It connects two or more network segments and makes forwarding decisions based on MAC addresses contained within each frame. This represents a fundamental shift from the Physical Layer operation of repeaters and hubs.
Core Bridge Characteristics:
- •Layer 2 Operation — Bridges examine the MAC (Media Access Control) address fields within Ethernet frames to make forwarding decisions. They understand frame boundaries, unlike repeaters that process raw signals.
- •Collision Domain Segmentation — Each bridge port defines a separate collision domain. Devices on different ports can transmit simultaneously without collisions, dramatically improving aggregate network performance.
- •MAC Address Learning — Bridges automatically learn which MAC addresses are reachable through which ports by examining the source address of each received frame. No manual configuration is required.
- •Selective Forwarding — Unlike hubs that broadcast all traffic, bridges forward frames only to the port where the destination device is located, reducing unnecessary traffic on other segments.
- •Store-and-Forward Architecture — Most bridges receive a complete frame, validate it (CRC check), then forward it. This prevents corrupted frames from propagating.
- •Protocol Transparency — Bridges operate beneath the Network Layer; they forward IP, IPX, AppleTalk, or any protocol without awareness of its contents.
Bridge vs. Repeater/Hub: Conceptual Comparison:
| Aspect | Repeater/Hub (Layer 1) | Bridge (Layer 2) |
|---|---|---|
| Unit of Processing | Bits (electrical signals) | Frames (structured data) |
| Address Awareness | None | MAC addresses |
| Forwarding Decision | Broadcast (repeat to all) | Selective (forward or filter) |
| Collision Domains | Extends (single domain) | Segments (multiple domains) |
| Error Handling | None (repeats errors) | CRC validation, drop bad frames |
| Processing Delay | Minimal (~bit times) | Moderate (~frame time) |
| Learning | None | Automatic MAC learning |
Historical Context:
Bridges emerged in the mid-1980s as networks grew beyond what single collision domains could efficiently handle. The theoretical foundation was laid by Radia Perlman and others at Digital Equipment Corporation, who developed the spanning tree algorithm (which we'll cover in a later module) to enable bridges to operate in redundant topologies.
The term 'bridge' reflects the device's original use case: connecting two existing LAN segments—'bridging' between them—rather than the multi-port design we now associate with switches.
Store-and-Forward Operation
The defining characteristic of bridge operation is the store-and-forward architecture. Unlike repeaters that immediately retransmit incoming signals, bridges receive and buffer the complete frame before making a forwarding decision.
The Store-and-Forward Process:
┌─────────────────────────────────────────────────────────────────┐
│ Bridge Store-and-Forward Operation │
└─────────────────────────────────────────────────────────────────┘
Incoming Frame Bridge Processing
───────────── ──────────────────
┌──────────────────────┐
│ Preamble + SFD │ ──► Synchronize, detect frame start
├──────────────────────┤
│ Destination MAC │ ──► Read destination for forwarding
├──────────────────────┤
│ Source MAC │ ──► Learn: associate with ingress port
├──────────────────────┤
│ Type/Length │ ──► Store in buffer
├──────────────────────┤
│ Payload │ ──► Store in buffer (up to 1500 bytes)
├──────────────────────┤
│ FCS (CRC-32) │ ──► Validate entire frame integrity
└──────────────────────┘
│
▼
┌────────────────┐
│ CRC Valid? │
└───────┬────────┘
│
┌───────────────┴───────────────┐
│ │
▼ ▼
┌─────────┐ ┌─────────────┐
│ Yes │ │ No │
└────┬────┘ └──────┬──────┘
│ │
▼ ▼
Lookup destination Drop frame
in forwarding table (no forwarding)
Benefits of Store-and-Forward:
-
Error Isolation: By validating the FCS (Frame Check Sequence) before forwarding, bridges prevent corrupted frames from propagating. A frame damaged on one segment is discarded rather than wasting bandwidth on all segments.
-
Speed Buffering: Store-and-forward bridges can connect segments of different speeds. A 10 Mbps segment can communicate with a 100 Mbps segment; the bridge buffers frames as needed to accommodate the speed difference.
-
Complete Address Information: The bridge has access to both source and destination MAC addresses before making any forwarding decision, enabling accurate learning and forwarding.
-
Frame Filtering: Bridges can examine additional frame fields and implement filtering rules (in advanced implementations) based on frame content.
Latency Implications:
Store-and-forward introduces latency equal to the time required to receive the entire frame plus processing time:
Latency = Frame Reception Time + Processing Time + Transmission Time
For a 1518-byte frame at 10 Mbps:
- Reception: 1518 × 8 bits ÷ 10 Mbps = 1,214.4 μs ≈ 1.2 ms
- Processing: typically 10-100 μs
- Transmission: same as reception on equal-speed port
Total: ~2.5 ms per bridge hop (worst case)
This latency was considered significant in early networks but is negligible in modern switched networks with microsecond-level processing.
Some bridges (and later switches) implemented 'cut-through' forwarding, which begins transmitting the frame after reading only the destination address, before the entire frame is received. This reduces latency but cannot perform CRC validation, allowing corrupted frames to propagate. Most modern switches use variants that balance latency and error checking.
MAC Address Learning
The bridge's ability to learn MAC addresses automatically—without any manual configuration—is among its most valuable features. This transparent learning process builds the forwarding table dynamically as the network operates.
The Learning Algorithm:
When a bridge receives a frame on any port:
- Extract the Source MAC Address from the frame header
- Check if the address exists in the forwarding table
- If new: Add an entry mapping this MAC address to the receiving port
- If exists with same port: Reset the aging timer (address still reachable via this port)
- If exists with different port: Update the port mapping (device has moved)
- Proceed to forwarding decision (independent of learning)
Why Source Address?
The learning algorithm uses the source MAC address because:
- The source address identifies a device that definitely exists and just transmitted
- Learning from destination addresses would learn addresses that might not be reachable
- Source learning is passive—devices don't need to participate in the learning process
| MAC Address | Port | Age (seconds) | Type |
|---|---|---|---|
| 00:1A:2B:3C:4D:5E | Port 1 | 15 | Dynamic |
| 00:1A:2B:3C:4D:5F | Port 1 | 45 | Dynamic |
| 00:2C:4E:6A:8C:12 | Port 2 | 3 | Dynamic |
| 00:3D:5F:71:93:AB | Port 2 | 120 | Dynamic |
| 00:4E:60:82:A4:CD | Port 3 | 0 | Dynamic |
| FF:FF:FF:FF:FF:FF | All | — | Static (Broadcast) |
Learning Walkthrough Example:
Consider a two-port bridge connecting Segment A (Port 1) and Segment B (Port 2):
Initial State: Forwarding table is empty
Step 1: Device A1 (MAC: AA:AA:AA:AA:AA:AA) on Segment A
sends a frame to Device B1
Bridge receives frame on Port 1
Source MAC: AA:AA:AA:AA:AA:AA
Action: Learn AA:AA:AA:AA:AA:AA → Port 1
Forwarding Table:
| AA:AA:AA:AA:AA:AA | Port 1 | Age: 0 |
Step 2: Device B1 (MAC: BB:BB:BB:BB:BB:BB) on Segment B
sends a reply to Device A1
Bridge receives frame on Port 2
Source MAC: BB:BB:BB:BB:BB:BB
Action: Learn BB:BB:BB:BB:BB:BB → Port 2
Forwarding Table:
| AA:AA:AA:AA:AA:AA | Port 1 | Age: 5 |
| BB:BB:BB:BB:BB:BB | Port 2 | Age: 0 |
Step 3: Device A2 (MAC: CC:CC:CC:CC:CC:CC) on Segment A
sends a frame to Device B1
Bridge receives frame on Port 1
Source MAC: CC:CC:CC:CC:CC:CC
Action: Learn CC:CC:CC:CC:CC:CC → Port 1
Forwarding Table:
| AA:AA:AA:AA:AA:AA | Port 1 | Age: 10 |
| BB:BB:BB:BB:BB:BB | Port 2 | Age: 5 |
| CC:CC:CC:CC:CC:CC | Port 1 | Age: 0 |
This passive learning process continues as long as the bridge operates, building a complete map of MAC address locations without any administrative intervention.
The bridge learns a device's location when that device transmits. A silent device—one that only receives traffic—will never appear in the forwarding table. During the initial period after startup, or when communicating with new devices, the bridge may not know the destination location and must flood the frame to all ports.
Forwarding Decision Process
After learning the source address location, the bridge makes a forwarding decision based on the frame's destination MAC address. This decision determines whether to forward, filter, or flood the frame.
The Forwarding Algorithm:
RECEIVE frame on port P:
1. Learn source_MAC → port P (as described above)
2. Extract destination_MAC from frame
3. IF destination_MAC is broadcast (FF:FF:FF:FF:FF:FF)
OR destination_MAC is multicast (01:xx:xx:xx:xx:xx):
→ FLOOD: Forward to ALL ports except port P
4. ELSE lookup destination_MAC in forwarding table:
4a. IF destination_MAC found AND mapped to port P:
→ FILTER: Do not forward (destination on same segment)
4b. IF destination_MAC found AND mapped to port Q (Q ≠ P):
→ FORWARD: Send frame out port Q only
4c. IF destination_MAC NOT found in table:
→ FLOOD: Forward to ALL ports except port P
(Unknown unicast flooding)
- •FILTER (Drop) — The destination MAC is known and is on the same port as the source. The frame was already delivered on that segment; forwarding would create duplicates. The bridge discards the frame—this is positive filtering that reduces network traffic.
- •FORWARD — The destination MAC is known and is on a different port. The bridge transmits the frame on that specific port only. This is selective forwarding—the key efficiency improvement over hubs.
- •FLOOD — The destination is unknown (not in the table), or is a broadcast/multicast address. The bridge transmits the frame to all ports except the one it arrived on. This ensures delivery when location is uncertain.
Practical Examples:
Example 1: Known Unicast
Frame arrives on Port 1:
Source: AA:AA:AA:AA:AA:AA
Destination: BB:BB:BB:BB:BB:BB
Forwarding Table:
| BB:BB:BB:BB:BB:BB | Port 2 |
Decision: FORWARD to Port 2 only
Result: Port 2 receives frame; Ports 3, 4, ... do not
Example 2: Same-Segment Traffic (Filtering)
Frame arrives on Port 1:
Source: AA:AA:AA:AA:AA:AA
Destination: CC:CC:CC:CC:CC:CC
Forwarding Table:
| CC:CC:CC:CC:CC:CC | Port 1 |
Decision: FILTER (drop the frame)
Result: No ports receive forwarded frame
Reason: Source and destination are on the same segment
Example 3: Unknown Destination
Frame arrives on Port 1:
Source: AA:AA:AA:AA:AA:AA
Destination: DD:DD:DD:DD:DD:DD
Forwarding Table:
| DD:DD:DD:DD:DD:DD | (not found) |
Decision: FLOOD to all ports except Port 1
Result: Ports 2, 3, 4, ... all receive the frame
Reason: Bridge doesn't know where DD:DD:DD:DD:DD:DD is located
Example 4: Broadcast
Frame arrives on Port 2:
Source: BB:BB:BB:BB:BB:BB
Destination: FF:FF:FF:FF:FF:FF (broadcast)
Decision: FLOOD to all ports except Port 2
Result: Ports 1, 3, 4, ... all receive the frame
Reason: Broadcasts must reach all devices
While bridges segment collision domains, they do NOT segment broadcast domains. All broadcast frames flood through all bridge ports. This is why routers—operating at Layer 3—are needed to segment broadcast domains and why VLANs were developed to create logical broadcast domain boundaries.
Aging and Table Maintenance
Network topology is not static. Devices are added, removed, moved between ports, and powered off. The bridge's forwarding table must adapt to these changes automatically. The aging mechanism ensures stale entries are removed, keeping the table accurate.
The Aging Process:
Each forwarding table entry has an associated age timer:
- Entry Creation: When a MAC address is first learned, its age is set to 0
- Age Increment: All entries age continuously (typically measured in seconds)
- Age Reset: When a frame with this source MAC arrives, the age resets to 0
- Age Expiration: When an entry reaches the maximum age (default: 300 seconds / 5 minutes in most implementations), it is removed from the table
Why Aging is Necessary:
- •Device Removal — If a device is disconnected without aging, its entry would persist forever, wasting table space and potentially causing misrouting if the MAC address is reused.
- •Device Movement — If a laptop moves from Port 1 to Port 3, without aging the old entry would persist. Frames would be sent to Port 1 where the device no longer exists. (Note: The learning process does update entries when devices move and transmit from new locations.)
- •Table Overflow — In large networks, tables would grow indefinitely, consuming memory and slowing lookups.
- •Power Cycling — Devices that are powered off need their entries removed; otherwise traffic destined for them consumes bandwidth to non-existent destinations.
Aging Timer Tuning:
The default 300-second aging time balances two competing concerns:
| Short Aging Time (e.g., 30 seconds) | Long Aging Time (e.g., 1800 seconds) |
|---|---|
| Fast adaptation to topology changes | Entries persist longer, less flooding |
| More unknown unicast flooding | Longer black hole period after device moves |
| Smaller forwarding table | Larger forwarding table |
| Higher CPU utilization (frequent updates) | Lower CPU utilization |
Typical recommendations:
- Stable networks: 300-600 seconds (default is usually fine)
- Mobile environments (laptops, wireless): 60-120 seconds
- Data center (servers rarely move): 300-1800 seconds
Static Entries:
Network administrators can create static entries that never age:
Static Entry: 00:11:22:33:44:55 → Port 2 (never ages)
Use cases:
- Critical servers that must always be reachable
- Security: static entry for known legitimate devices
- Special handling for specific MAC addresses
Static entries override dynamic entries and prevent learning-based updates. This provides guaranteed forwarding behavior but requires manual maintenance.
When a device moves and transmits from its new location, the bridge immediately updates the forwarding table entry to reflect the new port. Aging is not required for device movement detection—learning handles this. Aging is specifically for removing entries for devices that have stopped transmitting entirely.
Collision Domain Segmentation
The bridge's most significant contribution to network performance is collision domain segmentation. Each bridge port creates an independent collision domain, allowing simultaneous transmissions on different segments without interference.
Understanding Collision domain Segmentation:
Without Bridge (Hub-based network) With Bridge
───────────────────────────────── ───────────
┌─────────────────────┐ Segment A Segment B
│ Single Hub │ (Port 1) (Port 2)
└─┬───┬───┬───┬───┬───┘ │ │
│ │ │ │ │ │ ┌──────┐ │
A1 A2 A3 B1 B2 B3 │ │Bridge│ │
│ └──┬───┘ │
━━━━━━━━━━━━━━━━━━━━━━━━━━━━ │ │ │
All 6 devices in ONE collision ┌──┴──┐ │ ┌───┴───┐
domain. If A1 and B2 transmit │ Hub │ │ │ Hub │
simultaneously → COLLISION └┬─┬─┬┘ │ └┬──┬──┬┘
│ │ │ │ │ │
A1 A2 A3 B1 B2 B3
━━━━━━━━ ━━━━━━━━
Collision Collision
Domain 1 Domain 2
A1 and B1 can transmit
SIMULTANEOUSLY!
Performance Impact of Segmentation:
Consider a network with 6 devices, each generating 2 Mbps of traffic:
Without Bridge (single 10 Mbps collision domain):
- Total offered load: 6 × 2 Mbps = 12 Mbps
- Available bandwidth: 10 Mbps (shared)
- Utilization: 120% → Severe congestion and collision storms
- Result: Network is unusable
With Bridge (two segments, each with 3 devices):
- Segment A offered load: 3 × 2 Mbps = 6 Mbps
- Segment B offered load: 3 × 2 Mbps = 6 Mbps
- Each segment has 10 Mbps available
- Utilization per segment: 60% → Acceptable performance
But it gets even better: If most traffic is local (A1↔A2, B1↔B2), the bridge filters this traffic. Cross-segment traffic might be only 2 Mbps total:
- Traffic crossing bridge: 2 Mbps
- Local Segment A traffic: 4 Mbps (never crosses bridge)
- Local Segment B traffic: 4 Mbps (never crosses bridge)
Each segment operates independently with comfortable utilization, and the bridge handles only the inter-segment traffic.
Aggregate Bandwidth Enhancement:
| Configuration | Total Network Capacity |
|---|---|
| 6-port hub | 10 Mbps (shared) |
| 3-port hub + bridge + 3-port hub | 10 Mbps per segment, 20 Mbps aggregate* |
| 6-port bridge (each port separate) | 10 Mbps per port, 60 Mbps aggregate* |
*Aggregate capacity assumes no single conversation needs to exceed the bottleneck link (bridge inter-port) bandwidth.
This is why microsegmentation—connecting each device to its own bridge/switch port—became the standard practice. The evolution toward per-device switching maximizes aggregate bandwidth and eliminates collisions entirely.
While bridges excellently segment collision domains, they do NOT segment broadcast domains. All broadcasts flood through all ports. A broadcast storm on one segment floods through the bridge to all segments. This limitation is why routers (Layer 3) or VLANs are required for broadcast domain control.
Bridge Types and Architecture
Bridges evolved into several types to address different network requirements. Understanding these variations illuminates the path from early bridges to modern switches.
Transparent Bridges:
The most common type, transparent bridges operate invisibly to end devices:
- No configuration required on connected hosts
- Automatic MAC learning and aging
- Forward decisions based solely on MAC addresses
- Defined by IEEE 802.1D standard
Transparent bridges are the direct ancestors of modern Ethernet switches.
Source-Route Bridges:
Used primarily in IBM Token Ring networks, source-route bridges required hosts to determine the path through the network:
- Source device includes routing information in frame header
- Bridges follow explicit path instructions, not MAC lookups
- Required specialized discovery protocols (Routing Information Field or RIF)
- Largely obsolete with Token Ring's decline**
Translational Bridges:
These bridges connected networks using different Layer 2 protocols:
- Ethernet ↔ Token Ring translation
- Ethernet ↔ FDDI translation
- Required frame format conversion and address translation
- Complex, expensive, and largely replaced by routers or protocol standardization
| Type | Learning Method | Path Determination | Configuration Required | Use Case |
|---|---|---|---|---|
| Transparent | Automatic MAC learning | Bridge decides | None on hosts | Ethernet LANs |
| Source-Route | Host discovers | Host specifies path | Special protocols | Token Ring (obsolete) |
| Source-Route Transparent (SRT) | Both | Auto-detect method | Minimal | Mixed environments |
| Translational | Varies | Protocol conversion | Significant | Multi-protocol (obsolete) |
Forwarding Methods:
Store-and-Forward:
- Receives complete frame before forwarding
- CRC validation ensures no corrupted frame propagation
- Higher latency (entire frame time + processing)
- Best for reliability and mixed-speed connections
Cut-Through:
- Begins forwarding after reading destination MAC (first 14 bytes)
- Lowest latency (microseconds)
- Cannot validate CRC; corrupted frames propagate
- Best for latency-sensitive applications with reliable networks
Fragment-Free (Modified Cut-Through):
- Waits for first 64 bytes (minimum frame size + collision window)
- Catches runts and collision fragments
- Compromise between latency and error filtering
- Common in early switches
Adaptive:
- Dynamically switches between store-and-forward and cut-through
- Uses store-and-forward when error rate is high
- Returns to cut-through when network is clean
- Provides optimal performance across conditions
Early bridges had limited forwarding table capacity (hundreds to low thousands of entries). Enterprise networks could exceed these limits, causing unknown unicast flooding. Modern switches support hundreds of thousands to millions of MAC addresses, but table capacity remains a consideration in large data center deployments.
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.