Multiple routers with single switch

Hello, is it ok to have several router interfaces with different IP addreses connected to a single switch? Or do all interfaces connected to a switch need to be on the same subnet?
Let's say that the interfaces are addressed, and respectively and each of these interfaces is connected to a port on the switch. Also, each interface is a seperate Ethernet router. The interface connects to the WAN or Internet. The clients connect to the other side of the other 2 router's interfaces with DHCP server on in each case. These are addressed, So a client in one of these segments would receive an address like with a gateway of
With the routing table set up correctly in the routers does it matter that traffic from different subnets could be passing through the switch at the same time?
I hope that I have posed this clearly enough.
4 answers Last reply
More about multiple routers single switch
  1. Not very clearly or organized but from what i can read why don't you setup the switch with VLANS? and continue with your setup with the above config?
  2. Thanks for the reply. In a nutshell I am asking can you have routers with different subnets connected to the same switch without causing any issues?
  3. Yes this will work but you would be better off setting up VLANS on the actual switch and segregate the different subnets from the router that way to keep things clean. Same setup as you are talking about just add VLANs on the switch.
    hope this helps.
  4. That's great. Thanks for the answer. VLANS it is then. p.s. Happy New Year!
Ask a new question

Read More

Routers Switch Networking