Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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"?

share|improve this question
    
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? –  Mike Pennington May 29 '12 at 10:13
    
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. –  vanneto May 29 '12 at 10:19
1  
You don't need 2 public addresses to make this work. Just route private addresses and nat once on the modem. –  Matt H May 29 '12 at 10:22
add comment

3 Answers 3

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

share|improve this answer
    
+1 but consider providing an example of different subnets –  Jeremy W May 30 '12 at 3:36
add comment

EDIT: Apparently I was wrong, you can get two different IP addresses while using one Modem to connect. When I tried doing it, it didn't work, so maybe it depends on the ISP or the modem, or maybe I didn't configure it properly...

You can use the Routers to manage the clients in two subnets and configure the routers separately.

For example, you can use one router to configure a Wireless network and the other to configure a LAN network.

share|improve this answer
    
not true. Business class cable or DSL will assign a small range of public IPs if asked (and paid for). –  Jeremy W May 30 '12 at 3:33
    
AFAIK Using a regular modem will only connect one user account with only one IP address assigned to it. –  Shahar May 30 '12 at 5:37
    
@shahar I used to have about the same setup with my cable ISP. –  Sibster May 30 '12 at 6:06
add comment

it's just work... because switch is device to share connection. You must setting routing table and NAT for routers. in the computer client, you must fill gateway with IP address of router...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.