Can I connect two routers to one switch?

33,816

This should just work. But i would make sure router 1 and router 2 client sides are on different subnets.

Share:
33,816
mishmash
Author by

mishmash

Updated on September 18, 2022

Comments

  • mishmash
    mishmash over 1 year

    I want to connect two routers to a switch which will then be connected to a modem. Now as far as I know a switch does not do network translation and this won't work with one IP address. So I bought two addresses at my ISP.

    Attached is a simple schematic that explains what I want to do.

    Schematic

    Is there any additional configuration needed on either of the routers (Linksys WRT54GL) to make this work or will it "Just Work"?

    • Nowak Grzegorz
      Nowak Grzegorz almost 12 years
      What exactly do you mean by "Just Work"? How are you going to use those two routers, and what functions are we validating in our answer?
    • mishmash
      mishmash almost 12 years
      By "Just Work" I mean that clients will be able to connect to either router with no problems. The routers do not need to be aware of each other, clients connecting to one router do not need to know the other even exists.
    • hookenz
      hookenz almost 12 years
      You don't need 2 public addresses to make this work. Just route private addresses and nat once on the modem.
    • Alex S
      Alex S over 8 years
      The question that comes to mind is what kind of Routers, how will they be configured and what purpose will they serve to clients. A typically, consumer Wireless router creates its own Subnet so it can help isolate both of them. If you are keen on dual ISP, then instead of 2 routers downstream from Switch, you'd want to look into Dual WAN Router upstream from Switch. Its not clear what equipment you are using and what you are trying to achieve.
    • David Schwartz
      David Schwartz over 8 years
      This will create two LANs, and clients of router 1 won't be able to talk to router 2. What are you trying to achieve here? Why are you using two routers?
  • Jeremy W
    Jeremy W almost 12 years
    not true. Business class cable or DSL will assign a small range of public IPs if asked (and paid for).
  • Jeremy W
    Jeremy W almost 12 years
    +1 but consider providing an example of different subnets
  • Shahar
    Shahar almost 12 years
    AFAIK Using a regular modem will only connect one user account with only one IP address assigned to it.
  • Sibster
    Sibster almost 12 years
    @shahar I used to have about the same setup with my cable ISP.