Note on Bridges and Switches
Introduction
Bridges and switches are networking devices used to connect multiple devices within a Local Area Network (LAN). Both operate at the Data Link Layer (Layer 2) of the OSI model and use MAC addresses to forward data. They help reduce network traffic and improve performance.
Bridge
A Bridge is a networking device used to connect two or more LAN segments. It filters traffic by checking the MAC address of frames and decides whether to forward or block the data.
A bridge divides a large network into smaller segments, which helps reduce collisions and improves network efficiency. It maintains a MAC address table to identify which device belongs to which segment.
Functions of Bridge
- Connects two LAN segments
- Filters traffic using MAC address
- Reduces network congestion
- Controls data flow between segments
Advantages of Bridge
- Reduces collision domain
- Improves network performance
- Simple and cost-effective
Disadvantages of Bridge
- Limited number of ports
- Slower compared to switches
- Not suitable for large networks
Switch
A Switch is an advanced networking device used to connect multiple devices within a LAN. Like a bridge, it works at the Data Link Layer and uses MAC addresses to forward frames.
However, a switch has multiple ports and can send data only to the intended device instead of broadcasting to all devices. This significantly reduces collisions and increases network speed.
Functions of Switch
- Connects multiple devices in LAN
- Forwards frames using MAC address table
- Reduces collision
- Supports full-duplex communication
Advantages of Switch
- High performance
- Less network congestion
- More secure than hub
- Supports large networks
Disadvantages of Switch
- More expensive than bridge
- Requires configuration and management
Difference Between Bridge and Switch
| Feature | Bridge | Switch |
|---|---|---|
| Number of Ports | Few (usually 2–4) | Many (8, 16, 24 or more) |
| Speed | Slower | Faster |
| Cost | Lower | Higher |
| Network Size | Small networks | Medium to large networks |
| Collision Domain | Divides into segments | Each port has separate collision domain |
Conclusion
Bridges and switches both operate at the Data Link Layer and use MAC addresses for data forwarding. A bridge connects small LAN segments, while a switch is more advanced and suitable for larger networks. Switches provide better performance, reduced collisions, and improved efficiency compared to bridges.
Viva Questions with Answers
1. At which OSI layer do bridges and switches operate?
Data Link Layer.
2. Which device has more ports?
Switch.
3. What type of address is used by both devices?
MAC address.
4. Which device is faster?
Switch.
5. Can a bridge reduce network congestion?
Yes.
