05-20-2008 08:53 AM - edited 03-05-2019 11:06 PM
Is it true that you can use a router and route between subnets on a lan when all the pc's and the router are connected to only one switch?
Solved! Go to Solution.
05-21-2008 08:12 AM
Well.. you can use the design that you have set up currently but its not a scalable design. The more number of vlans , the more interfaces you need on router. The scalable and the recommended design is to have a trunk between the router and switch and create sub-interfaces for inter-vlan routing between the vlans.
Please see the link below for the same:
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a00800949fd.shtml
-amit singh
05-20-2008 09:00 AM
Patrick
I am not sure that I really understand your question. So let me answer what I think it is about and if my answer is not what you are looking for then perhaps you can help me better understand what you need.
It is true that if there is a single switch with multiple PCs attached, and if the switch is configured with multiple VLANs, and if the switch connection to the router is a trunk, and if the router supports trunking, then it is certainly true that the router can route between the various VLAN subnets on the switch.
HTH
Rick
05-20-2008 09:02 AM
If you have multiple subnets and you are using layer2 vlans to segregate those, then yes, you need a router in order to route between them. If you have some other requirement then please explain the network topology.
HTH,
-amit singh
05-21-2008 07:59 AM
Thanks for the answers everyone! What I meant was routing between subnets on a LAN using a router, but without VLANS. For example: Computer 1 IP: 10.0.0.1 255.255.255.0
Computer 2 IP 172.20.0.0 255.255.0.0
Both attached to same switch. Router with two ethernet ports attached to same switch, computers' gateway addresses are that of the router appropriate router interface with an IP in their same subnet respectively. I would've thought you would need a separate switch for each subnet and couldn't connect both router ports to the same switch. Hope that makes sense :)
05-21-2008 08:12 AM
Well.. you can use the design that you have set up currently but its not a scalable design. The more number of vlans , the more interfaces you need on router. The scalable and the recommended design is to have a trunk between the router and switch and create sub-interfaces for inter-vlan routing between the vlans.
Please see the link below for the same:
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a00800949fd.shtml
-amit singh
05-21-2008 08:15 AM
Ok I see.
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: