Modern computer networks rely on hierarchical interconnection strategies to bridge individual Local Area Networks (LANs) into unified, scalable enterprise networks. This module covers the theoretical foundations of network interconnection, spanning tree loop resolution, backbone topologies, and Virtual LAN (VLAN) design.
Interconnection components operate across different layers of the Open Systems Interconnection (OSI) reference model. These devices range from simple Physical-layer signal regenerators to application-aware gateways.
+--------------------------------------------------------+
| OSI Layer Devices |
+-------------------+------------------------------------+
| Application | Gateway |
| Transport/Network | Router / Three-Layer Switch |
| Data Link | Bridge / Two-Layer Switch |
| Physical | Repeater / Active Hub / Passive Hub|
+-------------------+------------------------------------+At the lowest layer of the network architecture, devices forward electrical, optical, or electromagnetic signals without evaluating frame structures or logical addresses.
Data Link layer devices parse frame headers and make forwarding decisions based on physical hardware addresses (MAC addresses).
Learning Bridge Function
+--------------------------+
| MAC Address | Port Link |
+-------------+------------+
| A1-B2-C3 | Port 1 |
| D4-E5-F6 | Port 2 |
+-------------+------------+
|
[Host A] v [Host B]
(A1-B2-C3) ------------ [Port 1] ----------- (D4-E5-F6)
[Port 2]When a frame arrives:
These devices operate beyond the frame layer, managing logical addressing and protocol translation.
To ensure high availability, enterprise networks introduce physical redundancy by deploying parallel paths between switches and bridges. However, introducing physical loops into a Layer 2 network without loop-mitigation mechanisms leads to catastrophic failures.
Consider two bridges connecting two separate LAN segments:
+---------------+
| Bridge B1 |
+-----+ +-----+
| +---------------+ |
[ LAN 1 ] [ LAN 2 ]
| +---------------+ |
+-----+ Bridge B2 +-----+
| |
+---------------+If Host on LAN 1 transmits a broadcast frame:
To resolve this, networks run the Spanning Tree Protocol (STP, IEEE 802.1D). The network of bridges and LANs is modeled as an undirected graph , where:
The objective of STP is to construct a minimum spanning tree such that:
Physical Loop Graph (G) Logical Spanning Tree (T)
[Root Bridge B1] [Root Bridge B1]
/ \ / \
[LAN 1] [LAN 2] [LAN 1] [LAN 2]
\ / \
[Backup Bridge B2] [Backup Bridge B2]
(Link to LAN 2 blocked)The algorithm operates through three distinct phases:
Bridges exchange specialized configuration messages called Bridge Protocol Data Units (BPDUs). Each bridge has a unique Bridge ID (BID), which consists of a configurable Priority value and the bridge's physical MAC address:
The bridge with the lowest BID is elected as the Root Bridge of the network.
Each non-root bridge determines its Root Port (RP). The Root Port is the individual port on the bridge that offers the lowest path cost back to the Root Bridge. Path cost is inversely proportional to link bandwidth:
For instance, a standard link has a lower path cost than a link.
For each LAN segment, the connected bridges negotiate to elect a single Designated Port (DP). The Designated Port is the port on the bridge that provides the lowest path cost from that LAN segment back to the Root Bridge. All other ports attached to that segment that are neither Root Ports nor Designated Ports are placed into the Blocking State.
Through this process, redundant physical paths are logically disabled (blocked), eliminating loops while remaining available to take over if a primary link fails.
A backbone network provides a high-capacity link to interconnect separate Local Area Networks. A defining characteristic of backbone networks is that no individual client station is directly connected to the backbone physical media; the backbone connects network nodes (such as switches or routers) rather than end host systems.
In a bus backbone topology, the backbone itself is configured as a physical bus structure, typically using high-performance coaxial cabling or fiber trunks.
+--------+ +--------+ +--------+
| Switch | | Switch | | Switch |
+---+----+ +---+----+ +---+----+
| | |
=======+===============+===============+======= <-- High-Speed Bus BackboneIn a star backbone topology, the backbone consists of a single central switch that acts as the hub.
+----------------------+
| Central Switch (Hub) | <-- Star Backbone
+--+----------------+--+
| |
+--------+ +--------+
| |
+----+---+ +----+---+
| Switch | [LAN 1] | Switch | [LAN 2]
+--------+ +--------+When LANs are separated by large geographic distances, we use remote bridges connected via point-to-point WAN links.
+-------+ +------------+ WAN Link +------------+ +-------+
| LAN A +-----+ Bridge (L) +====================+ Bridge (R) +-----+ LAN B |
+-------+ +------------+ (Point-to-Point) +------------+ +-------+In this architecture, the point-to-point link (such as a leased fiber line or digital microwave link) acts as a virtual LAN segment connecting the two remote bridges, allowing them to forward frames across geographic boundaries.
Traditional LANs are defined by physical cabling; all hosts connected to the same physical switch or cascaded hub network belong to the same broadcast domain. A Virtual Local Area Network (VLAN) allows a network administrator to segment a physical switch network into separate logical networks using software.
Physical Infrastructure Logical VLANs
+------------------+ +--------------------+
| Switch | | VLAN 10 (SALES) |
+--+--+--+--+--+--+ | - PC1 |
| | | | | | | - PC2 |
PC1 PC2 PC3 PC4 PC5 +--------------------+
[V10] [V20] [V10] [V20] | VLAN 20 (IT) |
| - PC3 |
| - PC4 |
+--------------------+Managed switches categorize their physical ports into two primary types:
Standard Ethernet Frame Header:
+---------+---------+------+----------+
| Dest MAC| Src MAC | Type | Payload |
+---------+---------+------+----------+
802.1Q Tagged Ethernet Frame Header:
+---------+---------+===========+------+----------+
| Dest MAC| Src MAC | 802.1Q Tag| Type | Payload |
+---------+---------+===========+------+----------+
\ /
VLAN ID (12 bits)The 12-bit VLAN ID field allows for a maximum of:
Because each VLAN is its own logical subnet and broadcast domain, hosts in different VLANs cannot communicate directly at Layer 2. To allow communication between different VLANs, a Layer 3 routing device must route traffic between them.
The following guide details how to configure two VLANs on a Cisco switch and set up Router-on-a-Stick (ROAS) on a Cisco router using a single physical interface.
[PC 1] (192.168.1.10) -- Port fa0/1 \
+-- [Switch] (fa0/5) === Trunk === (fa0/0) [Router]
[PC 3] (192.168.2.10) -- Port fa0/3 /| Device | Interface / Port | VLAN Assignment | IP Address | Subnet Mask | Default Gateway |
| :--- | :--- | :--- | :--- | :--- | :--- |
| PC1 | Fa0/1 | VLAN 10 (SALES) | 192.168.1.10 | 255.255.255.0 | 192.168.1.1 |
| PC2 | Fa0/2 | VLAN 10 (SALES) | 192.168.1.20 | 255.255.255.0 | 192.168.1.1 |
| PC3 | Fa0/3 | VLAN 20 (IT) | 192.168.2.10 | 255.255.255.0 | 192.168.2.1 |
| PC4 | Fa0/4 | VLAN 20 (IT) | 192.168.2.20 | 255.255.255.0 | 192.168.2.1 |
Enter global configuration mode to instantiate the logical VLAN structures and assign names.
Switch> enable
Switch# configure terminal
! Instantiate VLAN 10 and name it SALES
Switch(config)# vlan 10
Switch(config-vlan)# name SALES
Switch(config-vlan)# exit
! Instantiate VLAN 20 and name it IT
Switch(config)# vlan 20
Switch(config-vlan)# name IT
Switch(config-vlan)# exitConfigure the access ports connected to the client machines. This step maps physical switch ports to logical VLAN domains.
! Configure Ports fa0/1 and fa0/2 for VLAN 10
Switch(config)# interface range fa0/1 - 2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# exit
! Configure Ports fa0/3 and fa0/4 for VLAN 20
Switch(config)# interface range fa0/3 - 4
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 20
Switch(config-if-range)# exitPort fa0/5 connects the switch directly to the router's physical interface. It must be configured as a trunk link to carry tagged traffic for both VLAN 10 and VLAN 20.
Switch(config)# interface fa0/5
Switch(config-if)# switchport mode trunk
Switch(config-if)# exitOn the router, we enable the physical link without assigning it an IP address. We then partition the link into logical sub-interfaces, assigning each sub-interface a VLAN tag encapsulation type and its corresponding IP gateway address.
Router> enable
Router# configure terminal
! Bring up the physical interface without an IP address
Router(config)# interface fa0/0
Router(config-if)# no shutdown
Router(config-if)# exit
! Create logical sub-interface for VLAN 10
Router(config)# interface fa0/0.10
Router(config-subif)# description Default Gateway for SALES
Router(config-subif)# encapsulation dot1Q 10
Router(config-subif)# ip address 192.168.1.1 255.255.255.0
Router(config-subif)# exit
! Create logical sub-interface for VLAN 20
Router(config)# interface fa0/0.20
Router(config-subif)# description Default Gateway for IT
Router(config-subif)# encapsulation dot1Q 20
Router(config-subif)# ip address 192.168.2.1 255.255.255.0
Router(config-subif)# endAfter completing these configurations, you can verify your connectivity using the following diagnostic steps:
192.168.1.10) to PC2 (192.168.1.20). The ping should succeed immediately, as both devices belong to the same broadcast domain (VLAN 10) and do not require routing.192.168.1.10) to PC3 (192.168.2.10).
192.168.1.1) at the router's sub-interface fa0/0.10.fa0/0.20.fa0/3.Physical layer repeaters do not merely boost signals (amplification); they reconstruct the incoming digital signal's bit patterns to eliminate accumulated noise and distortion (regeneration).
Dynamic Layer 2 devices that populate their routing/forwarding tables by inspecting the source MAC addresses of incoming frames.
An algorithmic mechanism designed to identify and logical-disable loops in a bridged network graph, creating a loop-free logical spanning tree.
High-capacity network structures used to interconnect multiple individual LANs, ensuring no individual endpoint station is directly connected to the backbone media itself.
Software-defined logical broadcast domains created by partitioning physical switch ports, isolated from other VLANs without the aid of a Layer 3 routing device.
Test your understanding with 5 questions
Which of the following statements correctly distinguishes a repeater from an amplifier?
What catastrophic event occurs when a loop exists in a network connected by basic learning bridges?
In a star backbone configuration, what component serves as the central backbone?
An access port on a managed Ethernet switch is characterized by which of the following properties?
Under the Router-on-a-Stick (ROAS) architecture, how does a single physical router interface route traffic between multiple VLANs?
6 Modules
6 Modules