Overview
CDRouter 8.0 adds support for IEEE 802.1ad stacked VLANs on WAN interfaces. Stacked VLANs allow an Ethernet packet to contain two VLAN tags. The inner-tag (also known as the C-tag) is added to the packet by the customer, while the outer-tag (also known as the S-tag) is added by the ISP.
Test Setup
CDRouter Configuration
To configure CDRouter to use stacked VLANs, five additional testvars, enableVlanStacking, wanInnerVlanId, wanInnerVlanPriority, wanOuterVlanId, and wanOuterVlanPriority must be configured. A sample CDRouter configuration based on the test setup above is provided here:
testvar wanInterface eth2
testvar enableVlanStacking yes
testvar wanInnerVlanId 100
testvar wanInnerVlanPriority 0
testvar wanOuterVlanId 200
testvar wanOuterVlanPriority 0
When using stacked VLANs, the regular 802.1q VLAN testvars wanVlanId and wanVlanPriority must not be configured (leave them commented out in the configuration file).
CDRouter Multiport Configuration
When using CDRouter Multiport, additional WAN interfaces can also be configured to support stacked VLANs. A sample CDRouter Multiport configuration is provided here:
testvar_group wan2 {
testvar wanInterface eth3
testvar enableVlanStacking yes
testvar wanInnerVlanId 100
testvar wanInnerVlanPriority 0
testvar wanOuterVlanId 200
testvar wanOuterVlanPriority 0
}
WAN interfaces can use the same physical interface (testvar wanInterface) and/or inner-tag (testvar wanInnerVlanId) so long as their outer-tags (testvar wanOuterVlanId) are unique.
Requirements
- CDRouter or CDRouter Multiport
- Two network interfaces
- One 802.1ad VLAN-capable DUT
Benefits
- Test devices in a real-world setup