06-07-2013 10:03 AM - edited 03-07-2019 01:46 PM
Hi I have a Cisco 1801 router connected to layer 2 switch on fa0 using the interface as a dot1q encapsulation trunk.
On both devices I have setup vlans 30 and 40 and the communication works fine between them. The respective subnets of either vlan can be reached on switch and router and my laptop when plugged into respective vlan interfaces on the switch or router.
But...
The native vlan 1, which I've given the IP of 172.16.17.1/28 on the Cisco and 172.16.17.2/28 on the switch, is not reachable on either device when pinging from the console of either.
For vlan 30, I set up the sub interface as:
int fa0.30
encap dot1q 30
I set up vlan 40 the same but with relevant changes.
Would need to specify int fa0.1 also?
Any help appreciated.
Solved! Go to Solution.
06-07-2013 10:18 AM
Hi,
Have you specified the native vlan on the trunk interface on the switch?
Can you post the sh run interface xxx for the switch uplink to the router?
You also need to specify a sub interface on the router using encapsulation dot1q 1 native. Assign the IP address for vlan 1 to this sub interface.
HTH
Paul
Sent from Cisco Technical Support Android App
06-07-2013 10:18 AM
Hi,
Have you specified the native vlan on the trunk interface on the switch?
Can you post the sh run interface xxx for the switch uplink to the router?
You also need to specify a sub interface on the router using encapsulation dot1q 1 native. Assign the IP address for vlan 1 to this sub interface.
HTH
Paul
Sent from Cisco Technical Support Android App
06-07-2013 02:11 PM
I read the response from Paul to say that it is required to configure a subinterface to have the router process vlan 1 as the native vlan. I do not agree with this. If the physical interface is configured with an IP address then that interface will process frames that do not have a vlan tag.
I would agree that configuring a subinterface for the native vlan is a good practice. But I do not believe that it is a requirement.
I agree that we need to see how the interfaces are configured on both devices. I think it would also be beneficial to see the output of show cdp neighbor detail from the router and switch. And the output of show interface trunk from the switch might be helpful.
HTH
Rick
06-08-2013 03:51 AM
Can you please post "sh int vlan 1" and sh vlan
Lake
Sent from Cisco Technical Support iPhone App
06-08-2013 07:09 AM
Thanks for the responses everyone.
My initial thoughts were correct. Paul Stone also got it.
I had to specify
int fa0.1
encap dot1q 1 native
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