cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1503
Views
0
Helpful
2
Replies

QinQ in single switch

active.hub2
Level 1
Level 1

Hi,

I am trying to learn dot1q tunneling in GNS3 with IoS.  I created a scenario to connect PCs in VLAN2 separated apart with the following switches.  The master switch has to be configured to pass vlans 2,3 through vlan100. I am not able to ping PC1 to PC2.qinq.JPG

Configuration of Master is:

vIOS-L2-01(config)#vlan 100
vIOS-L2-01(config-vlan)#ex

vIOS-L2-01(config)#int gi0/0
vIOS-L2-01(config-if)#switchport access vlan 100
vIOS-L2-01(config-if)#switchport mode dot1q-tunnel
vIOS-L2-01(config-if)#no shut

vIOS-L2-01(config)#int gi0/1
vIOS-L2-01(config-if)#switchport access vlan 100
vIOS-L2-01(config-if)#switchport mode dot1q-tunnel
vIOS-L2-01(config-if)#no shut

Can someone please let me know where I was mistaken.

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @active.hub2 ,

I would suggest to test using two Master switches with an 802.1Q trunk between them carrying outer VLAN 100.

 

As in real world a minimal setup I have done with real devices was that.

 

SW1 ----  802.1Q tunnel ---   Master1 ---   trunk ---- Master2 --- 802.1Q tunnel --- Sw2

 

if even the proposed setup does not work you may be facing a limitation of emulation SW

 

Hope to help

Giuseppe

 

Hi Giuseppe,

 

I tried the same topology as suggested by you.  

qinq-2.JPG

Configuration of Master1 is:

vIOS-L2-01#show running-config int gi0/0
Building configuration...

Current configuration : 129 bytes
!
interface GigabitEthernet0/0
 switchport access vlan 100
 switchport mode dot1q-tunnel
 media-type rj45
 negotiation auto
end

vIOS-L2-01#show running-config int gi0/3
Building configuration...

Current configuration : 132 bytes
!
interface GigabitEthernet0/3
 switchport trunk encapsulation dot1q
 switchport mode trunk
 media-type rj45
 negotiation auto
end

Still ping does not work from PC1 to 2.0.0.2.  I tried sniffing on the links LINK1 and LINK2.  On LINK1, I could see ARP req for 2.0.0.2 with vlan tag 2.  But on LINK2, I do not see any ARP req.