Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Trunking

Hi,

I have configured 3 VLANs on my switch. I want to configure the interfaces on the router to accomodate the trunking information i just made. There is no Etherchannel on my switch since i have a stack. switch is doing dot1q trunking

How do i do that?

Appreciate your response.

Regards

Navneet

3 ACCEPTED SOLUTIONS

Accepted Solutions
Silver

Re: Trunking

Cisco Employee

Re: Trunking

Hi Navneet,

I believe you are talking on inter vlan routing with router on stick model.

You need to create sub-interfaces on your router port to which your switch port is connected and then configure encapsulation under all subinterfaces.

Something like this

interface fa0/0.1

encapsulation dot1q

ip adddress

interface fa0/0.2

encapsulation dot1q

ip adddress

Now for any subinterface to support encapsulation command it is necessary that your router IOS is having a minimum of IP PLUS feature set.

HTH

Ankur

*Pls rate all helpfull post

Re: Trunking

Hi Navneet,

Just to add to Ankur's Post, try configuring the " native " vlan keyword under the respective vlan sub-interface which is a native vlan on the switch. By defualt Vlan 1 is Native vlan on the cisco switch. So whenever you are configuring the sub-interface for vlan1 on your router use "Native" keyword with that.Otherwise the things will not work. For example

nterface fa0/0.1

encapsulation dot1q 1 native

ip adddress a.a.a.a c.c.c.0

Check the link posted by the first poster, that link will really help you.

HTH,Please rate if it does.

-amit singh

6 REPLIES
Silver

Re: Trunking

Community Member

Re: Trunking

Thnx for the Link Jolmo. It really helped.

Cheers

Navneet

Cisco Employee

Re: Trunking

Hi Navneet,

I believe you are talking on inter vlan routing with router on stick model.

You need to create sub-interfaces on your router port to which your switch port is connected and then configure encapsulation under all subinterfaces.

Something like this

interface fa0/0.1

encapsulation dot1q

ip adddress

interface fa0/0.2

encapsulation dot1q

ip adddress

Now for any subinterface to support encapsulation command it is necessary that your router IOS is having a minimum of IP PLUS feature set.

HTH

Ankur

*Pls rate all helpfull post

Community Member

Re: Trunking

Hi Ankur,

Thanks a Lot.I was looking for the exact answer. I knew the config when etherchannel is configured on a switch.But this basic thing confused me..:))

Thanks Buddy

Cheers

Navneet

Re: Trunking

Hi Navneet,

Just to add to Ankur's Post, try configuring the " native " vlan keyword under the respective vlan sub-interface which is a native vlan on the switch. By defualt Vlan 1 is Native vlan on the cisco switch. So whenever you are configuring the sub-interface for vlan1 on your router use "Native" keyword with that.Otherwise the things will not work. For example

nterface fa0/0.1

encapsulation dot1q 1 native

ip adddress a.a.a.a c.c.c.0

Check the link posted by the first poster, that link will really help you.

HTH,Please rate if it does.

-amit singh

Community Member

Re: Trunking

Yes i got the point.

Thnx Amit

Navneet

153
Views
0
Helpful
6
Replies
CreatePlease to create content