Wi-Fi & local networks · Offline reference

Network Topology Reference

Compare star, tree, ring and mesh layouts and inspect their failure paths. Only if the service can use a surviving path and the paths avoid the failure being considered. Two fibers can share a conduit, switch, power supply or upstream circuit.

Inputs

Result

Selection
All entries
Calculated or matching entries
TopologyTypical pathFailure to examine
StarEach edge connects to a central pointA failed edge link isolates that edge. A failed center can affect every attached edge.
TreeAccess nodes aggregate into higher tiersAn upstream cut can disconnect an entire subtree.
RingA closed chain connects neighborsSurvival after one break depends on the forwarding and protection mechanism.
Partial meshSome nodes have multiple independent neighborsInspect the actual alternative paths and shared physical dependencies.
Full meshEvery pair of nodes has a direct linkAn undirected simple mesh of n nodes needs n(n−1)/2 links. Five nodes need ten.
Physical versus logicalCables and active forwarding paths can differA redundant switched physical loop may use a loop-prevention protocol that blocks one logical path.
In this guide11 sections

Introduction

Compare star, tree, ring and mesh layouts and inspect their failure paths. Only if the service can use a surviving path and the paths avoid the failure being considered. Two fibers can share a conduit, switch, power supply or upstream circuit.

Method and concepts

Suppose a frame arrives on port 2 in VLAN 20 with source MAC A. A learning bridge associates A with port 2 in the applicable filtering database. The observation says where a frame came from. It does not yet establish where the destination lives.

  1. Select an entry to isolate the relevant case.
  2. Read the associated evidence and compare it with your local configuration.

Switching fundamentals diagram

  1. Port 2 · A transmits
  2. Learn A on port 2
  3. B initially unknown
  4. Flood within VLAN 20
  5. B replies on port 5
A simple learning bridge starts with an empty table. B’s reply gives it the second source-to-port association.

Worked examples

Read the Star entry

  1. Each edge connects to a central point
  2. A failed edge link isolates that edge. A failed center can affect every attached edge.

Switching fundamentals: Predict three forwarding decisions

  1. Give ports 2, 5 and 7 membership in VLAN 20. Give port 9 only VLAN 30. Assume normal forwarding with unknown-unicast flooding enabled.
  2. A on port 2 sends to unknown B. The switch learns A on 2 and sends copies to 5 and 7. Port 9 is outside the VLAN.
  3. B replies through port 5. The switch learns B on 5 and delivers the reply to known A on 2. A’s next frame to B goes only to 5.

Reference table

Network Topology Reference reference
TopologyTypical pathFailure to examine
StarEach edge connects to a central pointA failed edge link isolates that edge. A failed center can affect every attached edge.
TreeAccess nodes aggregate into higher tiersAn upstream cut can disconnect an entire subtree.
RingA closed chain connects neighborsSurvival after one break depends on the forwarding and protection mechanism.
Partial meshSome nodes have multiple independent neighborsInspect the actual alternative paths and shared physical dependencies.
Full meshEvery pair of nodes has a direct linkAn undirected simple mesh of n nodes needs n(n−1)/2 links. Five nodes need ten.
Physical versus logicalCables and active forwarding paths can differA redundant switched physical loop may use a loop-prevention protocol that blocks one logical path.

Reading the result

An access link can assign untagged traffic to a configured VLAN. A trunk can carry several VLANs using tags and a policy for any untagged traffic. Both ends need compatible membership and tagging settings.

Common mistakes

  • Learning a station’s location from the destination field. Learning uses the received source MAC.
  • Assuming a switch port carrying VLAN 20 automatically carries every VLAN configured on the switch.

Frequently asked questions

Do two drawn links guarantee redundancy?

Only if the service can use a surviving path and the paths avoid the failure being considered. Two fibers can share a conduit, switch, power supply or upstream circuit.

Will a switch learn a silent printer’s location?

Normal dynamic learning needs a frame sourced by the printer. Before that, an unknown-unicast frame for the printer may be flooded.

How do stations in different VLANs communicate?

A router or a switch performing layer-three forwarding can connect the IP subnets. Membership in two VLANs alone does not create a routed path.

How does a switch learn where to send a frame?

It records the source MAC address and ingress port of observed frames. A known destination can be forwarded to its learned port; an unknown unicast is commonly flooded within the VLAN.

What does a VLAN change?

A VLAN creates a separate Layer 2 broadcast domain on shared switching infrastructure. Routing is needed for ordinary communication between VLANs.

Can a loop exist in a switched topology?

Redundant paths can create a Layer 2 loop. Spanning-tree mechanisms or other controlled designs prevent frames from circulating indefinitely through redundant links.

Does a switch use IP routing to forward every frame?

A Layer 2 switch forwards within a VLAN using link-layer information. A multilayer switch can also route at Layer 3 when configured to do so.

What is the difference between an access port and a trunk?

An access port commonly carries one assigned VLAN for an endpoint. A trunk carries multiple VLANs using tagging conventions between network devices.

Does a switch flood every unknown frame to every VLAN?

An unknown unicast is generally flooded only within the frame's VLAN and subject to switch policy. VLAN boundaries keep separate Layer 2 domains isolated.

Why do switches age MAC table entries?

Aging removes stale source-to-port associations after a period without observed traffic, allowing the table to adapt when devices move or links change.

Does a VLAN provide encryption?

No. VLANs separate Layer 2 broadcast domains but do not encrypt frames. Use appropriate link or application security when confidentiality is needed.

What is a broadcast domain?

It is the set of interfaces that receive a Layer 2 broadcast within a VLAN or equivalent link domain. Routers normally separate broadcast domains.

Why does Spanning Tree block a redundant link?

It prevents Layer 2 forwarding loops by selecting a loop-free active topology while retaining eligible paths as backups. Port roles can change after topology events.

What happens when a switch receives a frame for an unknown MAC?

It commonly floods the frame to eligible ports in the same VLAN, excluding the ingress port. When it later learns the destination, it can forward more selectively.

Can a trunk carry untagged traffic?

Some trunk configurations assign untagged frames to a native or default VLAN. The behavior must be consistent at both ends to avoid misclassification or security issues.

Does a VLAN boundary replace a firewall?

No. VLANs create Layer 2 separation, but inter-VLAN routing or shared services can still allow communication. Firewall rules may be needed to enforce access policy.

Further learning and references