First off, bear in mind that I have not done any Q-in-Q yet, however I believe you do the following:
On your "lab" switch, you would set your dot1q-tunnel on all customer access ports.
On the customer switch, you would trunk any ports going to Vodafone.
I am assuming you are a third party and are trying to enable a vpls like service? Basically, Vodaphone itself has to provide the Q-in-Q tunnel in *most* circumstances. Unless I am completely misreading what you are trying to do here.
Just to confirm:
- "A" is at site 1
- "B" is at site 2
- "NTE" is at the "Service Provider" (Lab)
- You want to trunk VLANs from site 1 to site 2 over NTE
If that is correct, you would want:
"A"
(1) Trunk to Vodaphone with all VLAN's tagged
(4) Access Ports for your customers
"B"
(1) Trunk to Vodaphone with all VLAN's tagged
(4) Access Ports for your customers
If you want to deploy this in real-life, you will unfortunately not be able to. Vodaphone would have to initiate the dot1q-tunnel on their end as they take the VLAN's tags, preserve them, and add their own tag in front.
LukeMo
I'd avoid use of subnet zero (255.255.255.254 mask) until you have your vlan trunking resolved.
brasso_42
ASKER
Hi Daniel,
Thanks for the prompt responce.
I can confirm A end is the hub site where we termintate all our customers connectivity. In most cases customers have a vlan at the A end and are RAW at the B end. In this case we have one customer who requires connectivity to private services on vlan 200 so I need to provide 2 vlans 1 for public internet and one for private connectivity. The carrier does not support dot1q trunking so i need to implement q in q for this one customer.
I hope this clarifys the configuration requirement.
A VPN would be an option, however you would need to segregate every customer to a specific VPN otherwise you would have all routes available to all customers.
Since it is Cisco, I would recommend using VRF for the segregation
Daniel Sheppard
The reason I didn't mention VPNs was he did not ask about VPNs. He specifically asked about Q-in-Q
On your "lab" switch, you would set your dot1q-tunnel on all customer access ports.
On the customer switch, you would trunk any ports going to Vodafone.
I am assuming you are a third party and are trying to enable a vpls like service? Basically, Vodaphone itself has to provide the Q-in-Q tunnel in *most* circumstances. Unless I am completely misreading what you are trying to do here.
Just to confirm:
- "A" is at site 1
- "B" is at site 2
- "NTE" is at the "Service Provider" (Lab)
- You want to trunk VLANs from site 1 to site 2 over NTE
If that is correct, you would want:
"A"
(1) Trunk to Vodaphone with all VLAN's tagged
(4) Access Ports for your customers
"B"
(1) Trunk to Vodaphone with all VLAN's tagged
(4) Access Ports for your customers
"LAB" (Vodaphone)
(2) Dot1Q Tunnels with "switchport access vlan <your SP assigned VLAN>"
If you want to deploy this in real-life, you will unfortunately not be able to. Vodaphone would have to initiate the dot1q-tunnel on their end as they take the VLAN's tags, preserve them, and add their own tag in front.