I have a 4006 switch and a 3640 router with one fast ethernet port. I set up two vlans on the switch (vlan 1 & vlan 2) and trunk one of the ports that the router is on. I set the trunk to dot1q encapsulation in nonegiotate mode. On the router side I set up this config.
config t
int fa 1/0
ip address 10.250.237.254 secondary
ip address 10.250.230.254
int fa 1/0.2
encapsulation dot1q 2
ip addresss 10.250.224.254
description Vlan 2
I cant get the intervlan routing to work. I think the problem is the fact that with the IOS I am using on the router I cannot use the "encapsulation dot1q 1 native" command on the sub-interface. This is why I didn't create a sub-interface for vlan 1. Does anyone have any ideas? I think the problem is that the native vlans arent matching on both sides. The native vlan on the switch side is 1.
config t
int fa 1/0
ip address 10.250.237.254 secondary
ip address 10.250.230.254
int fa 1/0.2
encapsulation dot1q 2
ip addresss 10.250.224.254
description Vlan 2
I cant get the intervlan routing to work. I think the problem is the fact that with the IOS I am using on the router I cannot use the "encapsulation dot1q 1 native" command on the sub-interface. This is why I didn't create a sub-interface for vlan 1. Does anyone have any ideas? I think the problem is that the native vlans arent matching on both sides. The native vlan on the switch side is 1.