2 routers on 1 cable modem

Started by He Man, March 27, 2011, 05:36:44 PM

Previous topic - Next topic

He Man

My network was set up with a router connected to another router. But my brother decided to be a smartass and change teh pw on my router since its some weird combo of letter and numbers. now nothing works.

I have no idea how i got it to work last time. But so far, i know that i have to change the routers IP addresss so they dont conflict. one of them is 192.168.1.1 and the other is 192.168.1.5

But none of the computers get online now. If i use either router independently, it works fine.
if i change the subnetmask from 255.255.255.0 to ending in another number (they only allow to select a few) then one router works fine, the other will only work in wireless but not in wired or vice versa. any help???

Punx Clever

Wired as such:
_______         _____________________        ____________________
|Modem|------|(WAN) ROUTER 1 (LAN)|-----|(WAN) ROUTER 2 (LAN)|


Subnet Mask should be left as 255.255.255.0 for both routers
Local IP of router 1 as 192.168.1.1
Local IP of router 2 as 192.168.2.1

Router 2 will have a WAN address assigned by router 1, and LAN addresses for all computers on router number 2 should have ip's of 192.168.2.*** . All of router 2's traffic will go through router 1, then to the modem.
Router 1 will have a WAN address assigned by the modem, and LAN addresses for all computer on router number 1 should have ip's of 192.168.1.***

This *should* work. 
2008 S2R 1000 - Archangel

The Edge... there is no honest way to explain it because the only people who really know where it is are the ones who have gone over.  - HST

ducpainter

why do you need two routers?

why do you not put your brothers lights out?
"Once you accept that a child on the autistic spectrum experiences the world in
 a completely different way than you, you will be open to understand how that
 perspective
    is even more amazing than yours."
    To realize the value of nine  months:
    Ask a mother who gave birth to a stillborn.
"Don't piss off old people The older we get, the less 'Life in Prison' is a deterrent."



Artful

Make sure one router has DHCP turned off.
Every time I meet a new group of your friends that understand you and your weird sense of humor I'm a little more amazed that there are other people in the world like you that lived through childhood - My loving girlfriend

cokey

2 routers = more protection due to multiple firewalls?

He's trying to hack the planet
I WIN
Quote from: my wifeOk babe I surrender to u.  U may work me out till I drop

Quote from: Timmy Tucker on February 27, 2011, 11:11:58 AM
About the goat...
His name was Bob, but the family called him BeelzeBob. 
make the beast with two backs goats.

He Man

Quote from: cokey on March 27, 2011, 06:45:35 PM
2 routers = more protection due to multiple firewalls?

He's trying to hack the planet

I have to shut the core off before anymore earthquakes occur. its the only way.

slowpoke13

you running a web server off the network between the firewalls or something?
slowpokesan

He Man

too much interference between his end of the house to mine. i get barely 1 bar with all the crap between us so i just have my own network down here.

MendoDave

Quote from: He Man on March 27, 2011, 07:33:56 PM
too much interference between his end of the house to mine. i get barely 1 bar with all the crap between us so i just have my own network down here.

I'm doing something similar. One router (which is also the "Modem") I have set for WPA, the other one is unsecured so that My son in laws Apple device can get on, and so that I can stream video to the TV. (The TV doesn't deal with WPA) and so that visitors can get on, and I don't have to fool around with their setup.

I'm thinking of adding a third one down at the other end of the house.

il d00d

You have to set up the default routes on the respective routers correctly for it to work.  I am guessing that when you plug in router 2, it is not pointing to router 1 to get out to the internet.   

Recommendation 1.  Set up different networks so this is less confusing :) a 10.X.X.X address is also private, so you can use for the LAN subnet for router 2, so it looks like this:

modem-->Router 1 192.168.1.X --> Router 2 --> 10.1.1.X

Router 2's "WAN" interface will get a 192.168.1.X address - set this manually, or if you want allow it to negotiate one via DHCP.  I would set it manually.


Recommendation 2: write all this stuff down :P

So, for example:
Router 1:
WAN Interface IP address = whatever it is provided by the modem
LAN interface address = 192.168.1.1
DHCP scope = 192.168.1.0/24 or all the addresses from 192.168.1.2 to 192.168.1.254
Default gateway for the router(may be called default route in the configuration) = IP address provided by modem
Default gateway for the PCs connected to router 1 = 192.168.1.1

Router 2:
WAN interface IP address = 192.168.1.2
LAN interface address = 10.1.1.1
DHCP scope = 10.1.1.0/24
default gateway/route for router = 192.168.1.1
default gateway for PCs connected to router 2 = 10.1.1.1

The default gateway for the PCs will need to be specified in the DHCP config. 

MendoDave

Man I didn't do anything like that. I just plugged in the one router into the other one and everything works fine.

He Man

Quote from: D Paoli on March 27, 2011, 09:36:35 PM
Man I didn't do anything like that. I just plugged in the one router into the other one and everything works fine.

how the hell did you mnage to get that to work?

I gave up on it tonight since i am usually uber busy sunday night -> wednesday night. I will bookmark this and try the methods on thursday. I have 2 of the exact same routers too WTG54G or something like that.

thanks il d00d. If i can get time to try it tommorrow i wil.

meanwhile im still working on shuttting down the earths core.....

MendoDave

#12
So this is kind of messy looking. I hide this behind a chair...
But I just run the grey Cat 5 wire from One of the ports on the back, in this case it's port 2, into the input side of the Belkin. And that's it. It works.




Credit to IZ for photo two.

You could run a switch.. Then run routers in parallel.

|Modem|------|Switch|-----|(WAN) ROUTER 1 (LAN)|
                             |------|(WAN) ROUTER 2 (LAN)|

il d00d

The Belkin router is router 2 in this scenario?   I reckon it is running in bridged mode (it is not acting as a router, but a wireless to wired "converter" of sorts), or the default LAN subnet just happens to be different than the default LAN network for your router 1.

He Man's problem is that there are two 192.168.1.X networks, which presents the same problems to a router that a mailman would have delivering mail in a city where two different streets have same name and same street numbers.  You can actually make this work with static addresses and subnet masks but it is probably more work than setting up two different networks.

I would be happy to bore the shit out of everyone with a longer version of that explanation :)  Good luck He Man, PM me if I can be of any help.

cokey

I want to learn how to make a static ip address ..
I WIN
Quote from: my wifeOk babe I surrender to u.  U may work me out till I drop

Quote from: Timmy Tucker on February 27, 2011, 11:11:58 AM
About the goat...
His name was Bob, but the family called him BeelzeBob. 
make the beast with two backs goats.