10-03-2007 05:53 AM - edited 03-05-2019 06:50 PM
Hi,
We have a switch with two different VLAN's 10 and 99 for management. They are connected to one F/E port on the router. Now we made on the switchport a trunk and on the router side divided the F/E port in 2 subinterfaces. But if on first subinterface we put Encapsulation dot1Q native 10 we don't get any traffic passing anymore but interfaces stay up. What could be the cause?
Currently subinterfaces are configured but only VLAN10 traffic is passed and interface on router has encap dot1Q native 1.
Thanks
Solved! Go to Solution.
10-03-2007 06:28 AM
You appear to have native VLAN as 10 on the router and 1 on the switch - drop the native bit. If it insists on you having native somewhere, put it under th interface
int fas 0/0
enc dot1q 1 native
Paul
10-03-2007 06:02 AM
How have you got the switch port configured? I'll assume something like
int fas 0/3
switch
switch mode trunk
switch trunk enc dot1q
switch trunk allowed vlans 10,99
on the router you would need:
int fas 0/0
no ip address
int fas 0/0.10
enc dot1q 10
IP address
int fas 0/0.99
enc dot1q 99
IP address
10-03-2007 06:12 AM
Hi,
Switch:
interface FastEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10
switchport trunk allowed vlan 99
switchport mode trunk
Router:
interface FastEthernet0/0
description ATS DATA CHANNEL
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
description ATS WIRED DATA VLAN
encapsulation dot1Q 10 native
ip address 10.101.40.1 255.255.255.0
ip access-group 160 in
ip helper-address 10.130.5.22
ip helper-address 10.30.5.215
no snmp trap link-status
!
interface FastEthernet0/0.2
description ATS MGMT VLAN
encapsulation dot1Q 99
ip address 10.101.45.1 255.255.255.128
no snmp trap link-status
10-03-2007 06:27 AM
You need the same native VLAN on both ends of the trunk. If you want VLAN 10 to be the native, then you need switchport trunk native vlan 10 on the switch;
But if I were you, I would leave the native as 1, and tag both 10 and 99. Just remove the "native" from F0/0.1.
Kevin Dorrell
Luxembourg
10-03-2007 06:28 AM
You appear to have native VLAN as 10 on the router and 1 on the switch - drop the native bit. If it insists on you having native somewhere, put it under th interface
int fas 0/0
enc dot1q 1 native
Paul
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