cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
281
Views
0
Helpful
3
Replies

Multiple vlans on Fastethernet link

kunal-united
Level 1
Level 1

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

3 Replies 3

ankbhasi
Cisco Employee
Cisco Employee

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

mchoo2005
Level 1
Level 1

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.

Ahmede
Level 1
Level 1

You will need to do that..

interface fast 2/0.462

encapsulation dot1q 461

Getting Started

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: