Summary of "Lec-13: Bridges In Computer Networks | Physical and data link layer device"
Main ideas / concepts covered (Bridges in Computer Networks)
Purpose of bridges
- A bridge connects two LANs, typically two different LAN types/topologies (e.g., one side token ring and the other side token bus/ethernet).
- Bridges are called “bridge” by analogy to structures like flyovers/bridges, which connect two areas.
How bridges decide to forward traffic
- Bridges operate mainly at the Physical layer and Data Link layer, with key focus on the Data Link layer.
- When a packet arrives, the bridge checks the MAC address information:
- Forwarding: If the destination MAC address is on the other side, the bridge forwards the packet.
- Filtering: If the destination is on the same side, the bridge blocks/stops the packet to avoid unnecessary traffic.
Example scenario (conceptual)
- Bridge ports:
- P1 (left side)
- P2 (right side)
- Devices:
- On P1: M1, M2, M3, M4
- On P2: M5, M6, M7, M8
Case 1: M1 sends to M7
- Packet includes:
- source MAC = M1
- destination MAC = M7
- Bridge checks where M7 is (P2) → forwards.
Case 2: M1 sends to M3
- Destination M3 is on P1 (same side) → filters (does not forward).
Bridge types and table management
1) Static bridges
- Mechanism
- The bridge maintains a table mapping MAC addresses ↔ port numbers (conceptually similar to a routing table).
- Learning approach
- Manual configuration by the network administrator.
- The admin specifies which machines are connected to which port, for example:
- M1–M4 → P1
- M5–M8 → P2
- Forwarding/filtering
- The bridge uses the manually filled table:
- If destination MAC maps to the other port, forward.
- If destination MAC maps to the same port, filter.
- The bridge uses the manually filled table:
- Problems with static bridges
- No automatic learning:
- If a device’s MAC address changes, the admin must update the table.
- If a machine moves to a different interface/port connection, the admin must update entries.
- This repetitive maintenance is a major drawback.
- No automatic learning:
2) Dynamic (Transparent) bridges
- Mechanism
- The bridge starts with an empty table.
- Learning process (step-by-step)
- Step 1: If a frame/packet arrives and the bridge does not know the destination MAC:
- It broadcasts the packet to all relevant ports.
- Step 2: While broadcasting, the bridge observes traffic and learns:
- It records Source MAC ↔ the port where the source was received.
- Example:
- M1 → M6 (destination unknown initially) → broadcast
- Reply from M6 back to M1 lets the bridge learn:
- M6 is on P2
- Step 3: Over time, the bridge builds its table, e.g.:
- M1 → P1, M4 → P1, M7 → P2, etc.
- Step 1: If a frame/packet arrives and the bridge does not know the destination MAC:
- Result
- After learning, the bridge can forward or filter intelligently for future packets.
Performance comparison
- Initial delay: First-time unknown destinations cause broadcasts while the table is built.
- Later improvement: After learning, it performs better than static because it:
- needs no manual intervention
- adapts as devices/addresses/interfaces change
Collision domain behavior
- Collision can occur in hubs/repeaters, but not in bridges (as stated).
- Reason given
- Bridges use store-and-forward:
- The bridge stores incoming packets in its buffer/memory.
- Then it forwards them after processing.
- Since packets are buffered, collisions are described as very rare for bridges.
- Bridges use store-and-forward:
Loop prevention (Spanning Tree and bridge protocol)
- Bridges use a data unit protocol concept to remove loops.
- Why loops are a problem
- With multiple paths, packets can get trapped in loops.
- Routers commonly prevent loops using TTL (Time to Live), but bridges here rely on a different mechanism.
- Solution
- Bridges create a spanning tree using the bridge protocol.
- The spanning tree ensures only certain paths are used so that loops are eliminated.
Exam-focused takeaway (as stated)
- These bridge concepts are said to be commonly asked in exams such as:
- UGC NET
- PSU exams
- IT officer (bank)
- The speaker mentions a low chance for GATE, but still encourages memorization.
Speakers / sources featured
- No specific named speaker or external source is mentioned in the subtitles.
- The content appears to be delivered by the video author/instructor.
Category
Educational
Share this summary
Is the summary off?
If you think the summary is inaccurate, you can reprocess it with the latest model.
Preparing reprocess...