Switching & VLAN Fabric

activereferenceverified 2026-07-20

This document describes the Layer 2 transport fabric and the boundaries it must preserve for routing, security, and QoS to remain inspectable.

The switching fabric forwards intent; it does not decide intent.

Design principles: see Lab Philosophy.


Design Goals

The fabric is designed to:


Topology Model

The physical layout follows a simple hierarchy:

The core and access layers do not perform inter-VLAN routing. Their job is to move frames between explicit access ports and trunks.


VLAN Propagation

VLANs are defined as trust boundaries and terminate at the router. Switches are responsible for:

The fabric avoids VLAN translation, stacked VLANs, and per-switch policy interpretation. A switch should not need application knowledge to forward a flow correctly.


Layer 3 and Security Boundary

The router remains the Layer 3 authority:

This centralizes identity-aware decisions without pretending that all packet handling happens on one device.


QoS Contract Preservation

The current packet path is:

LAN endpoint → Layer 2 fabric → router classifier / route selector → inline bridge shaper / CAKE → WAN

The ordinary switching fabric preserves the router’s normalized DSCP marking. It does not reclassify traffic, select CAKE tins, or run independent queue policy.

The inline WAN bridge is a deliberate exception to the otherwise transport-only Layer 2 role. It sits at each bottleneck and owns queue enforcement: carrier mark washing, reply-path class restoration, CAKE scheduling, shaping, and adaptive rates.

That distinction keeps ownership clear:

Queue priority does not imply WAN steering. The fabric carries both decisions but owns neither.


Failure Characteristics

The topology keeps physical failure domains visible:

Bypass is a continuity mechanism, not a healthy QoS state. Restoration requires confirming that the bridge, classifier contract, and CAKE enforcement are all observable again.


Design Invariants