VLANs, 802.1Q trunks and TLS verification
The portal opens in one classroom and fails in another
A training centre moves a laptop from a meeting room into a classroom. The screen says the portal could not be opened. A colleague used the same desk yesterday without reporting trouble. The network owner has a diagram of two switches and port observations. The application owner has browser-side diagnostics. Place each observation on the diagram and distinguish two separate failures. The shortened records were prepared for the exercise and can be examined entirely on paper.
If frames, packets and connections still sound alike, revisit the OSI and TCP/IP investigation. Three observation points matter here. The first sits at the workstation port, the second on the inter-switch link and the third inside the browser. Each observer has access to different evidence. Even the order of the devices on the physical diagram does not establish that they all recorded the same individual request.
Read an access port and an inter-switch trunk
A VLAN separates groups inside an Ethernet network. In our classroom port A7 is an access port for VLAN 30. The laptop sends an ordinary untagged frame. The switch uses the access port configuration to classify it into VLAN 30. One cable between switches carries traffic for several VLANs. This link is called a trunk. In our exercise VLAN 30 frames receive an IEEE 802.1Q tag on the trunk. The VID field in the tag identifies the VLAN and helps the next switch classify the frame correctly.
Both trunk endpoints in this diagram use native VLAN 99 and send its frames untagged. Untagged handling depends on the equipment configuration and must be recorded explicitly. An untagged frame at the laptop is expected. Leaving VLAN 30 out of an allowed list affects whether the trunk accepts it. A list alone cannot establish what happened to one frame. Find an observation or decision at the relevant port. Configuration explains intended behaviour and a decision record lets you examine one specific outcome.
desk ---- A7 [switch A] T1 ===== T2 [switch B] ---- portal
A7 access=30
T1 trunk allowed=20,30,99 native=99 untagged-native=yes
T2 trunk allowed=20,99 native=99 untagged-native=yes
V4 14:05 A7 ingress frame=F90 untagged classified=30
V4 14:05 T1 egress frame=F90 tag=30
V4 14:05 T2 ingress frame=F90 tag=30 result=drop reason=vlan-not-allowed
Trace the path with a pencil. A7 classified the incoming frame. T1 recorded the tagged frame on exit. T2 recorded its arrival and its decision to drop it. This makes T2 the first evidenced rejection point for F90. The records cannot tell us which certificate the server would have offered or what permissions a user would have received. The shift can document the difference in the allowed lists, cite F90 and ask the owner to confirm the intended policy before approving any change.
What TLS establishes
For a later attempt the network owner supplied a newly reconciled configuration. Read the separate identifier V5. The browser wants portal.example and establishes a TCP connection. The client validates the certificate chain and compares the intended service identity with the identities in the certificate. A valid, trusted chain can belong to a different service. In that case the prior TCP connection and VLAN observations remain valid while verification of the service identity fails.
V5 14:18 T2 ingress tag=30 result=forward
V5 14:18 client-tcp endpoint=192.0.2.18:443 established
V5 14:18 browser-tls requested=portal.example certificate-dns=archive.example
V5 14:18 browser-tls chain=trusted name-check=failed handshake=aborted
V5 14:18 browser-http request-issued=no
TLS encrypts data in transit and protects its integrity. In this browser scenario, verifying the certificate chain and expected name authenticates the service. SSL is the older protocol family and RFC 7568 prohibits SSL 3.0.
During the handshake the peers exchange proposals and agree on protection parameters. In this example the client checks the service name against the certificate. A completed handshake would allow protected application data to be exchanged. The browser produced the identity verification record. An ordinary trunk observation records a frame and its VLAN tag. It cannot simply reveal the browser’s name verification decision or the page response code. Correlate the two journals by attempt and time and retain the original observation points. This explains why the network owner cannot answer every question from a single export.
Send the expected name, the presented name and the time to the TLS endpoint owner. The supplied evidence cannot choose between a certificate issuance error, a wrong binding on the endpoint and a misdirected service request. The owner can test each explanation against the configuration effective at the recorded time. Retest with normal name verification. Look for the expected identity and a completed handshake. Then check the result of the actual page request separately. The protected connection indicator and access to the personal account depend on different decisions.
Exercise. Present two evidence cards to a reviewer
K2 15:03 trunk-west tag=40 action=forward frame=F20
K2 15:03 trunk-east tag=40 action=drop reason=vlan-not-allowed frame=F20
K3 15:15 trunk-east tag=40 action=forward frame=F33
K3 15:15 browser-tls requested=portal.example identity=verified finished=yes
K3 15:15 browser-http GET /group -> 403 request-id=W14
Create two cards in trunk-tls-check.txt. Include the time, observation point, confirmed fact and owner of the next check. For K2 identify the observer that recorded the drop of F20. For K3 identify the highest confirmed application outcome and the reference that can help its owner investigate the reason. Explain why an established TLS session is insufficient to close the user’s request. Pass the cards to a partner and ask them to locate the line supporting each finding.
The first card should retain trunk-east and the decision about VLAN 40. The second should include successful service identity verification and the subsequent HTTP 403 with identifier W14. To establish whether the gateway or application generated the refusal, obtain the W14 gateway record with its upstream outcome and the corresponding application record. K2 and K3 are twelve minutes apart. In K3 the frame crossed trunk-east and TLS completed, but the requested page returned 403. This later attempt does not establish that the user received the material.
Sources
Bridging and VLAN behaviour are described in IEEE 802.1Q. See the Cisco Catalyst guide for the native VLAN example. For the protected connection use RFC 9846 on TLS 1.3 and RFC 9525 on service identity.
Test your conclusion
Who should handle this failure if port 443 responds but the page does not load?
Transport
client → service: SYN, SYN-ACK, ACK endpoint: 192.0.2.18:443
TLS client
expected service: portal.example.test leaf SAN: archive.example.test chain trusted; time valid; name verification failed
Supported. Check which certificate this endpoint served for the requested name. Retest using that name with verification enabled.
Insufficient evidence. This client established TCP. The TLS client recorded a specific mismatch between the requested name and the SAN.
Independent exercise
Three short classroom timetable attempts are ready for review. The operations meeting needs a separate decision for each.
Evidence
N1 trunk-port=B6 frame=E1 VID=70 drop=vlan-not-allowed N2 browser-tls expected=class.example certificate-dns=old.example chain=trusted identity=failed N3 browser-tls identity=verified finished=yes | HTTP 403 request=G42
Assignment
Assign each attempt to the network, TLS or HTTP service owner. State which facts require correlation between gateway and application, and describe a sufficient page-access retest.
Compare your reasoning
Send N1 with B6 and VID 70 to the network owner. For N2 check class.example on the TLS endpoint. N3 received HTTP 403; attribution requires the G42 gateway entry, forwarding outcome and related application audit. In a new session verify the expected VLAN, service identity and actual page delivery for the agreed role.
Personal practice environment
Check an excerpt, find matching lines and compute the SHA-256 of the original text. Temporary data expires after 30 minutes or when you close the environment.
Sign in