cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
864
Views
8
Helpful
3
Replies

router on a stick with multiple dot1q trunks

pverstegen
Level 1
Level 1

Hi,

Can I use the same dot1q tag's on diffrent physical interfaces that go to different switches in VTP transparent mode?

For instance like this:

Router with two interfaces fa0/0 and fa0/1

!

interface fa0/0

description connected to switch 1

interface fa0/0.1

description vlan 1 switch 1

encapsulation dot1q 1

interface fa0/0.2

description vlan 2 switch 1

encapsulation dot1q 2

!

interface fa0/1

description connected to switch 2

interface fa0/1.1

description vlan 1 switch 2

encapsulation dot1q 1

interface fa0/1.2

description vlan 2 switch 2

encapsulation dot1q 2

Regards, Peter

3 Replies 3

milan.kulik
Level 10
Level 10

Hi,

IMHO, yes, you can.

But if the VLANs are spread over both switch1 and switch2 you would need to configure IP addresses within the same subnet for your router subinterfaces probably.

And this is not allowed by IOS.

BR,

Milan

Jon Marshall
Hall of Fame
Hall of Fame

As Milan says, if these are the same vlans ie. vlan 2 uses the same subnet then no it's not possible because the router will complain about overlapping addresses.

If they are the same vlans why not just interconnect the switches and then just one of the switches to connect to the router using 802.1q subinterface ?

Jon

The vlan interfaces are all /30 subnets, it is just that I can reserve the same vlan's for layer 3 interconnect in each switch.

I would like to use this situation for VRF lite configurations where I need many interconnect vlan's between switches.

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: