05-29-2007 08:46 AM - edited 03-03-2019 05:12 PM
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
Solved! Go to Solution.
05-29-2007 09:57 AM
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.
05-29-2007 08:59 AM
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.
05-29-2007 09:08 AM
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
05-29-2007 09:00 AM
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!
05-29-2007 09:57 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide