Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Inter-VLAN

Hi Experts,

My uploaded topology has one switch with two VLANs Marketing,Finance and has two connections to the routers ( not seen in the picture) , one for each VLAN ...

So... I configured that topology with my Virtual Lab with Two TrunkLinks between the switch and the two ports of the router and they didn't work.. why???!!!

I think that those links should be TrunkLinks not AccessLinks... Right ?

Regards,

Ibrahim Alwahidi

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Inter-VLAN

Hi Ibrahim,

Inter-VLAN routing using an external router can be done in 2 ways in your case, either having 2 access interfaces on the router each belonging to one of the 2 VLANs on the switch and thus the inter-VLAN routing is done by routing the traffic between the 2 interfaces on the router.

The second solution is the router-on-a-stick, this solution reduces the need of multiple interfaces on the router, and thus by making the interface trunk and using subinterfaces each in a VLAN and thus the routing is done between sub-interfaces, which is the preferred solution as it reduces the interfaces required on the router doing the inter-VLAN routing.

I hope that i've been informative.

HTH, please do rate all helpful replies,

Mohammed Mahmoud.

4 REPLIES
Silver

Re: Inter-VLAN

You can configure one port on the router to be 802.1Q trunk with ether sub-interfaces. The corresponding port on switch would also need to be trunk.

Thanks.

New Member

Re: Inter-VLAN

Thank you Sir,

I know that i can make one router interface to make Inter-Vlan but i want to make two ports so what should be TrunkLink or AccessLink ?

Regards,

Ibrahim Alwahidi

Hall of Fame Super Gold

Re: Inter-VLAN

Hi,

When switch connects to router with one link for inter-vlan routing, it must be trunk.

When switch connects to router with more than one link, it can also be access, however in this case you will need one link per vlan.

Hope this helps, please rate post if it does!

Re: Inter-VLAN

Hi Ibrahim,

Inter-VLAN routing using an external router can be done in 2 ways in your case, either having 2 access interfaces on the router each belonging to one of the 2 VLANs on the switch and thus the inter-VLAN routing is done by routing the traffic between the 2 interfaces on the router.

The second solution is the router-on-a-stick, this solution reduces the need of multiple interfaces on the router, and thus by making the interface trunk and using subinterfaces each in a VLAN and thus the routing is done between sub-interfaces, which is the preferred solution as it reduces the interfaces required on the router doing the inter-VLAN routing.

I hope that i've been informative.

HTH, please do rate all helpful replies,

Mohammed Mahmoud.

112
Views
0
Helpful
4
Replies
CreatePlease to create content