How to configure 2 routers on the same local network
January 18th, 2007 ericdes
Many have reported problems trying to put 2 routers on the same LAN. While router R1 remains connected to the internet and working fine, your idea is to plug another router R2 to it.
I will write about several configurations in this article. While options 1 and 2 will sound familiar to many of you and unfortunately inconvenient as the same time, you might want to give your preference to the 3rd option which offers some of the best of both worlds…
Option 1 - Router R2 as a switch
A first approach is to daisy-chain R2 to R1, i.e. you attach a cable from one of the free LAN ports on R1 to one of the free LAN ports on R2. Whatever you set in the configuration of the router R2 won’t matter because it will downgrade as a regular switch. A DHCP server running on R1 will propagate its service to the computers connected to the R2 ports as well.
It’s clear that approach is fine if you have a new router with new features that include the ones from your older router. In that case, install the new router as R1 and the old one now R2 as a switch — you will save on a new switch should you need more ports although switches are now very cheap and use much more electricity than routers.
Option 2 - Router 2 as a router
It’s definitively worth trying to attach your cable to the WAN port of router R2. Computers attached to R1 will be able to use the features provided by R1 whereas those connected to R2 will get the features available on R2.
You will also discover a computer connected to R1 won’t ’see’ a computer connected to R2, and vice-versa. Forget about sharing the same LAN, even if both routers set their LAN with the same range of IP addresses, computers will remain invisible to those connected to the other router. You will end up with 2 LANs instead of one.
I’ve read many posts in forums about running a DHCP server on the first router while leaving the second DHCP server disabled, adding a static route between both routers. Actually none of this has ever worked for me.
I came up with this 3rd solution which actually solved my problems.
Option 3 - A better solution
In this scheme Router R1 which is connected to the internet now is in charge of supplying an internet socket to R2. This means R2 will see R1 as the internet gateway and won’t expect any more from it.
We’ll set R1 with IP 192.168.0.1 and DHCP disabled. Connect a cable from a free LAN port to the WAN port of router R2.
Now set the internet connection of R2 as a static IP address with the value of R1: IP 192.168.0.1, Netmask 255.255.255.0 / Gateway 192.168.0.1.
That configuration alone should bring internet to R2. Now we want R2 to act as LAN and DHCP server. Let’s put its IP address to 192.168.0.201 (an example) with its LAN network 192.168.0.0 of netmask 255.255.255.0, the DHCP server starting with IP 192.168.0.2.
Now every device connected to a LAN port on R2 will share that network. If you attach another cable from a LAN port on R2 to a LAN port on R1, R1 will now act as a switch for R2. Therefore the DHCP on R2 will service the computers attached on R1, each computer will ’see’ each other. We’ve solved the problems encountered in option 2.
So we’ll have Internet -> Router R1 (router mode) -> Router R2 (main router) -> Router R1 (switch). You’ll able to use some router features on R1 (before the packets arrive to R2 and after they are sent from R2) as well as those on R2. We’ve solved the problems encountered in option 1.
When booting you LAN, start with R1 and see that your computers won’t get an IP address from R1. Start R2 and see that it gets an internet connection. Renew the addresses on the computers connected on R1 and see how the DHCP on R2 responds. As a matter of fact you’d rather start your LAN by turning router R1 first then R2.
My setup
My router R1 is a SMC Barricade with a DSL modem.
I received a Linksys router (R2) from Vonage which I needed to include in the network.
The SMC is the router (IP address 192.168.0.201) connected to the internet and supplies internet to the Linksys router through its WAN port.
In the Linksys router I had to forward the ports 10000-20000 to 192.168.0.201 because Vonage requests them open for outgoing traffic.
Whether a computer is connected to the Linksys or SMC routers they are able to ping each others.
As an added bonus it works as Vonage recommends it: the Linksys router is installed before any other routers as it is Qos enabled and gives priority to the voice. This is possible because all computers whether attached to it or the SMC router are now behind it.
The SMC is Wifi enabled which is not the case for the Linksys router. As a consequence, a computer connected wirelessly won’t go through the Linksys router, and won’t be part of its network. It gets connected to the internet directly from the SMC router. As you might have expected it the Wifi might be the only feature on R1 not available on the LAN.
Entry Filed under: Networking
13 Comments Add your own
Pages: « 2 [1]
10. Thierry | April 22nd, 2008 at 4:56 am
hi,
hoping someone can help me with my setup.
Here is my hardware:
-Router1 (wired Linksys befsr41)
-Router2 (wireless NetGear)
-Modem connected to Router1
-Computer 1 connected to Router1
-Computer 2 connected to Router1
-Laptop connected to Router2 via wireless
I need to be able to shut down Router2 whenever I want without interupting Computer1 and Computer2 wired network.
I need the laptop to be able to see Computer 1 and computer 2 when Router 2 is on.
I need computer1 and computer 2 to see laptop when router 2 is on
can anyone help me on this setup?
thanks!
9. Simon | April 1st, 2008 at 12:34 pm
I need to configure my 2 ISP using 2 routers in connect them in one switch.. Is this possible?? Need help on how to configure it.. thanks.. pls e-mail me at yogutama@yahoo.com.. thanks..
8. johnpaolo | March 2nd, 2008 at 6:17 pm
Hi ericdes, I was trying to figure out your solution but it seems that it does not work with me. I am using a ProLink as R1 and a Linksys as R2. I followed the steps you provided unfortunately, this doesn’t work on my side. Do you have any idea on how I could make this work.
Is it also possible for both router to enable DHCP though I won’t be using the DHCP of R1. I just want to enable it just in case I wanted a separate network from the other. I have been figuring this out 1 year ago and still could not find any solutions. Could you help me out? Thank you.
7. Nuno Rodrigues | February 5th, 2008 at 7:34 pm
I have 2 routers
Aolynk dr814 adsl 2+ [ 192.168.1.1 ]
The pc local is connected to internet via dr814 [ 192.168.1.2 ] witth webcam xp ….
the second router is linksys [ 192.168.2.1 ]…. one pc is connect wireless but ???
how connected via webcam xp … ex :
Internet => Aolynk => linksys => PC ( WIFI ) ( Webcam xp ) put on url http://89.xxx.xxx..xxx:8080
in local i can , with NAT configuring
its urgent ….
em@il :
lx.nuno.rodrigues@gmail.com
6. Marco Gino Morre | December 10th, 2007 at 4:31 am
how can i network my 3 pc using a cable modem and a switch? i have problem of setting up the configuration of the ip addresses….tnx
5. Kevin | August 17th, 2007 at 7:57 am
Need some help here on network setting.
I’ve 2 offices , A & B
There’s a DSL modem connected to D-Link 524 wireless router here at A.
There’s an additional switch connected to the wireless router at A.
The switch in A, has a LAN cable to office B.
In B, the LAN cable is connected to another switch and then goes to the WAN port and another to LAN port of another Dlink-524 wireless router.
DHCP in B has been disable. All ip has been fix at B
LAN & internet seems to be working, after 15min.. the whole network goes down.
I need LAN , wireless & Internet at both A & B.
If i use the 3rd option, will the wireless internet at A be terminated ? cause B is in the other location
Or should i just buy an AP and fix it to office B ?
TQ
4. Catalin | May 18th, 2007 at 2:18 am
You said “Now set the internet connection of R2 as a static IP address with the value of R1: IP 192.168.0.1, Netmask 255.255.255.0 / Gateway 192.168.0.1.”
Can the IP be the same as the Gateway on R2, 192.168.0.1?
3. Rudder | April 9th, 2007 at 1:56 am
forgot one thing the computer that is hosting is hard wired to the WGT624 router
2. Rudder | April 9th, 2007 at 1:52 am
I read your options. I think you may have helped solve my problem. My ISP wants me to install a Siemens 5930(modem/router) inplace of the Speedstream 5200(modem). I have a wireless router WGT624 Netgear in series with the 5200 and all works great. The tech installed the 5930 and then the 624 and got on the internet, but I have messed up the settings on the 5930 trying to host as a server for gaming, and can’t get on the internet now with the 5930 then the 624 in series. So I went back to my original set up 5200 then the 624 and all works and I can host. I have open the ports needed to host in the 624. I need the wireless feature of the 624 for my second computer. So option 3 may work for me? The 5930 is suppose to have less throughput making it better for hosting. If you could lead me through step by step I would be a happy camper
1. Mango | March 16th, 2007 at 9:11 pm
Really helpful article,
If possible tell me what should I do,
One of my router is more capable (wrt-54gl with dd-wrt)is responsible to service many clients thru protected wifi, its in attic close to antenna to avoid signal degration with long cable.
other router is downstairs (regular wrt-54) connected to dsl modem it service 2-3 wired and 1-2 wireless users. Having two saperate LANs is Ok for me. Downstairs is for personal use and attic is for business or public use. My problem is in what setting to use for IP, subnet, gateway or mask etc to enter in the personal router and what to enter in the attic router. Do also need to worry about to set the attic router as access point, bridge or whatever other setting may be.
thanks
Pages: « 2 [1]
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed