ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCSI-417Bridging
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    CSI-417

    Computer Networks

    Progress0 / 18 done
    Topics18
    1Analogue and Digital Transmission2Noise3Media4Encoding5Asynchronous and Synchronous Transmission6Protocol Design Issues7Network System Architectures (OSI, TCP/IP)8Error Control9Flow Control10Data Link Protocols (HDLC, PPP)11Local Area Networks and MAC Layer Protocols (Ethernet, Token Ring)12Multiplexing13Switched and IP Networks14Inter-networking15Routing16Bridging17Transport Layer Protocols (TCP/IP, UDP)18Network Security Issues
    8 min read
    Topic 16 of 18
    Topic Study Note Illustration
    16

    Bridging

    Bridging is the process of connecting two or more separate network segments (often called LANs or subnets ) at the Data Link Layer (Layer 2 of the...

    Bridging in Computer Networks

    Bridging is the process of connecting two or more separate network segments (often called LANs or subnets) at the Data Link Layer (Layer 2 of the OSI model). A bridge is a network device that facilitates communication between different network segments, ensuring that data packets are transmitted efficiently between them. The primary function of a bridge is to forward traffic based on MAC (Media Access Control) addresses, and it can help reduce network collisions, segment traffic, and improve overall network performance.

    Bridges help networks scale by allowing multiple network segments to communicate with each other while maintaining efficient communication within each segment.

    OSI model
    Visual ReferenceOSI
    Wikipedia

    How Bridges Work

    1. Learning MAC Addresses: A bridge maintains a MAC address table (also known as a forwarding table), which contains information about which devices (identified by their MAC addresses) are located on which network segment. The bridge learns these addresses by monitoring traffic on each segment. When a frame is received from one segment, the bridge reads the source MAC address and records which segment it came from.

    2. Forwarding Frames: When the bridge receives a frame, it checks the destination MAC address in the frame:

      • If the destination address is within the same segment as the source, the bridge drops the frame, as it doesn't need to be forwarded.
      • If the destination address is on a different segment, the bridge forwards the frame to the appropriate segment based on its MAC address table.
    3. Filtering Frames:

      • Filtering occurs when a frame with a destination address that resides on the same segment as the source is received. In this case, the bridge does not forward the frame to the other segment, thus reducing unnecessary traffic between segments.
    4. Broadcast Frames:

      • If the frame is a broadcast (i.e., addressed to all devices on the network), the bridge forwards it to all other segments because broadcast messages need to be received by all devices within the network.
    5. Collision Domains:

      • A bridge divides a network into separate collision domains. Each segment connected by a bridge has its own collision domain, which means that collisions on one segment do not affect other segments. This helps reduce the chances of collisions and increases network efficiency.

    Types of Bridges

    1. Transparent Bridge: A transparent bridge operates without any manual configuration. It automatically learns the MAC addresses of the devices on each segment and builds a forwarding table. It is called "transparent" because it does not alter the structure of the frames or disrupt normal network traffic. These are commonly used in Ethernet networks.

    2. Source-Route Bridge: In a source-route bridge, the sender of the data frame specifies the entire route (path) the frame should take to reach its destination. The bridge simply forwards the frame according to the specified route. This type of bridge is used primarily in Token Ring networks, where devices can specify the route for the frame.

    3. Multiport Bridge: A multiport bridge connects multiple network segments, not just two, and can manage traffic between several segments. It works in a similar way to a transparent bridge but can handle more complex topologies, reducing the need for multiple bridges.

    4. Learning Bridge: This is a type of transparent bridge that learns the source MAC addresses of incoming frames and builds a forwarding table. It helps determine which segment a particular device belongs to, and forwards the frames based on that information.


    Bridge Operation Example

    Consider a simple example with two network segments, Segment A and Segment B, connected by a bridge.

    • Scenario 1: Frame from A to A: A device in Segment A sends a frame to another device within Segment A. The bridge receives the frame but determines that the destination is on the same segment (Segment A), so it does not forward the frame. This prevents unnecessary traffic on Segment B.

    • Scenario 2: Frame from A to B: A device in Segment A sends a frame to a device in Segment B. The bridge checks its MAC address table, identifies that the destination device is in Segment B, and forwards the frame to Segment B.

    • Scenario 3: Broadcast Frame: A device in Segment A sends a broadcast frame (e.g., ARP request) to all devices on the network. The bridge forwards the frame to both Segment A and Segment B, as it needs to be received by all devices on the network.


    Advantages of Bridging

    1. Traffic Segmentation: A bridge divides a large network into smaller, more manageable segments, reducing network congestion by isolating traffic within each segment. By filtering traffic, a bridge helps ensure that devices only receive the frames meant for them.

    2. Collision Domain Reduction: Bridges reduce the size of collision domains. Since each segment connected by a bridge is a separate collision domain, the chances of collisions are reduced, improving the overall network performance.

    3. Transparency: A bridge operates transparently, meaning it does not require any configuration or changes to the network’s topology. Devices on either side of the bridge behave as though they are part of the same network.

    4. Extension of Network: Bridges allow the physical extension of a network by connecting different segments, even if they are geographically distant, such as in different rooms or buildings. This increases the size of the network without adding complexity.

    5. Redundancy: Bridges provide a level of redundancy, which can be useful for network resilience. If one link between network segments goes down, the bridge can choose an alternative route, ensuring uninterrupted communication.


    Disadvantages of Bridging

    1. Performance Overhead: Bridges need to inspect every incoming frame and check its MAC address. In large networks with high traffic, this can add some performance overhead, particularly if the bridge's MAC address table is large and requires frequent updates.

    2. Limited Scalability: While bridges can improve network performance by reducing collisions, they don’t scale as well as routers for large, complex networks. As the number of segments grows, the bridge's ability to efficiently forward frames can degrade, especially in networks with a lot of broadcast traffic.

    3. Broadcast Propagation: Bridges forward broadcast traffic to all segments, which can lead to broadcast storms in large networks. If not controlled, this can overwhelm network resources.

    4. Security Concerns: Since a bridge forwards traffic based on MAC addresses, it can’t enforce any kind of routing policy or security filtering. If the bridge is not properly managed, malicious devices in one segment might gain access to all segments.


    Bridges vs. Routers

    While both bridges and routers are used to connect network segments, they operate at different layers of the OSI model:

    • Bridge: Operates at Layer 2 (Data Link Layer), filtering traffic based on MAC addresses. It is used for connecting similar networks (e.g., two Ethernet segments) and operates in a transparent manner.

    • Router: Operates at Layer 3 (Network Layer) and forwards traffic based on IP addresses. Routers are used to connect different types of networks (e.g., a local network to the Internet), and they can perform complex tasks like routing, addressing, and NAT (Network Address Translation).


    Conclusion

    Bridging is an essential concept in computer networks that allows for the connection and communication between different network segments. By working at the Data Link Layer, bridges help reduce network collisions, segment traffic, and improve overall network performance. They are particularly useful in smaller or medium-sized networks where devices within the same broadcast domain need to be connected while still maintaining network efficiency. However, bridges are not as scalable as routers and may not be suitable for larger, more complex network topologies. They are best used for simple network extensions and segmentation within localized areas.

    ← Previous topic 15
    Routing
    Next topic 17 →
    Transport Layer Protocols (TCP/IP, UDP)

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    8mremaining
    1.3kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Computer Networks