10-17-2006 02:23 AM - edited 03-03-2019 02:22 PM
Hi I have a cisco switch port 1 connected to router on fastethernet 0/2.
Now I have multiple vlans being carried to Fastethernet 0/2.
On the switch I make a trunk port to the router.
And on the router what should I do??
int fast 0/2
no ip address
? ...do I have to put encapsulation dot1q
then create subinterfaces
int fast 0/2.462
vlan-id dot1q 462
Thanks
10-17-2006 02:31 AM
Hi Kunal,
On the router you have to create subinterfaces for the number of vlans you want it work for.
Something like this
interface fa0/2.1
encapsulation dot1q
ip address
interface fa0/2.2
encapsulation dot1q
ip address
Also encapsulation command support depends on the router and IOS you are running. You need to have IP PLUS feature atleast to support the encapsulation command.
HTH
Ankur
10-18-2006 05:58 PM
In addition to the previous post, most platforms require the subinterface number to match with the VLAN number.
E.g. for VLAN 2, the subinterface would be fa0/2.2. For VLAN 10, fa0/2.10, etc. etc.
10-20-2006 05:50 AM
You will need to do that..
interface fast 2/0.462
encapsulation dot1q 461
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: