06-25-2021 11:51 AM
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.
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.
06-25-2021 04:29 PM
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
06-26-2021 11:45 AM
Hi Giuseppe,
I tried the same topology as suggested by you.
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide