Switch-to-switch trunk links

When two switches are connected together, there must be a mechanism to identify the VLAN a frame belongs to. We aren't talking about the physical layer but about the data link layer. When two switches are connected together, each one needs to know to which VLAN the traffic is destined for. This is where VLAN tagging comes in; when a frame moves over a switch-to-switch link, the source switch tags the frame with the VLAN ID, and this switch-to-switch link is known as a trunk.

Following is a screenshot of an inbound and an outbound PDU, captured in simulation mode, when a PC in VLAN 10 pinged a PC in VLAN 30:

Switch-to-switch trunk links

Notice the ...

Get Packet Tracer Network Simulator now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.