Have a Question?

VLAN Trunking Example

Digi International
November 14, 2016
Goal
The primary benefit of the VLAN features on the 6300-CX is to provide multiple LAN networks on a single Ethernet port. This allows users to create a segmented network, where certain devices are sectioned off in their own network, for increased performance, improved manageability, simplified software configurations, and increased security options.
Technical Details
What the 6300-CX and 6300-LX supports is closest to a trunked VLAN behaviour. That is, the 6300-CX supports multiple VLANs per Ethernet port, the packets arrive with tags already, and it doesnt add tags to the incoming packets. The difference is that since the 6300-CX acts as a router, we cant forward the tag on. The Ethernet header and VLAN tag are stripped before the packet enters the IP stack. So to the IP stack, it appears as the packet appeared on a virtual interface called "eth0.%d", and it needs to decide how to route the packet based on that. Theres no concept of a trunk interface that sends and receives all VLAN tags. The outgoing packet will then only have a VLAN tag if it is being routed out one of these virtual interfaces, and this VLAN tag doesnt have to be the same as the VLAN tag on the incoming packet.
Example Setup
 
 
Sample Configuration
The following configuration reflect the VLAN trunking setup in the diagram, where we have two trunked VLAN interfaces on the 6300-CXs LAN Ethernet port. Also, please ensure that the Modem ? Passthrouth ? Enabled option is un-checked, as enabling passthrough mode will override any VLAN settings.