Scott Hanselman

Configuring two wireless routers with one SSID (network name) at home for free roaming

September 13, 2010 Comment on this post [41] Posted in Hardware | Tools
Sponsored By

My downstairs wiring closet When we moved into the new house and setup the new home office a few years back, I posted about wiring the house for wired Cat-6 ethernet. I've never liked or trusted wireless, so when we started building the place it was always in the plan to wire everything and focus on speed.

Fast forward to 2010 and the Wii is wireless, the iPad and iPhones are wireless, the Windows Phone 7 is wireless, my wife's laptop is wireless, and it's all slow. It's slow because I'm using the standard Verizon (now Frontier) FIOS wireless router to cover all corners of a two story house. Over the last few weeks it's been especially irritating as the wife has moved her laptop into another room and I've started watching streaming Netflix from the corner of a room I'd never had a wireless device in.

I tried using the standard admin interface to boost the power of the wireless router a bit, but that didn't work. Then I bought an aftermarket external antenna for the router (it just screws on and replaces the standard antenna) and while that helped a little, I was still getting 1 or 2 out of 5 bars in the two rooms we used wireless devices the most. Streaming video or news (audio or video) or downloading podcasts was impossible.

I found an extra Verizon Router in my pile of tech junk while cleaning up and then got the idea to make a second wireless network upstairs. Sure, I could set it up easily with another SSID (service set identifier - a wireless network name) but that would be cheesy and my devices wouldn't roam smoothly between networks.

Here's the trick, thanks to some friends on Twitter and a little thought.

The Starting Point

In my case, I had a standard Verizon (ActionTec) router with the IP of 192.168.1.1. That's a static (non-changing) address. The router has DHCP (Dynamic Host Configuration Protocol) turned on, which means that this router hands out IP Addresses to my devices. It hands out those addresses in a certain range, specifically 192.168.1.2 through 192.168.1.254.

Your router will likely vary, but on this one you navigate to My Network, My Network Connections, then click on the Edit icon on the main network interface. You'll end up here:

Picture of the Network Connections Screen on a standard Verizon ActionTec Router

Notice the Start IP Address and End IP Address. You'll want to change this to 192.168.1.3 because we're going to use 192.168.1.2 as a static address for the second router when we set it up.

As an aside, you really should make sure your wireless router is using WPA2 for wireless security. If you're using WEP, it's about as effective as tissue paper, so change it to WPA2 with a strong password or find a techie nephew to do it for you.

Next, turn off your first (primary) wireless router completely. Routers aren't expecting folks to do what we're doing, so when you turn on the second router it will also default to 192.168.1.1. You're turning off the first so the second can be changed.

Turn on the second router and set its static IP address to 192.168.1.2. Under IP Address Distribution, set it to "disabled." It's important that you don't have TWO devices on your network passing out IP Addresses. This second router will only be bridging the wireless and wired world at your house. It has no responsibilities around IP addresses.

Here's an unnecessary diagram:

diagramnotneeded

Make sure the wireless settings of the second router is the same as the first router. Same SSID, same security type, same password. The only difference will be the channel. Moreover, we'll want to make sure the channels are sufficiently far apart.

Of course, if you're rich and famous and have a  HUGE area to cover, you can add a third wireless access point and just make sure that third AP uses a channel that's sufficiently far away from the other two. Try to make the second router be 5 away from the first router's channel. The guidance is channels 1, 6 and 11 are a good guideline. I used 11 for the first and 6 for the second.

Here's a great chart showing the channel spread from Wikipedia. I used channels 11 and 6 for my two routers.

wirelessfreqchart

Of course, you'll need an ethernet run going from a LAN port on your first router to a LAN port on your second router. In my case, each room has ethernet in the wall goingn to a gigabit switch. I pluged the second router into the wall from its LAN port and it worked.

Reboot everything, plug them all in and there you go.

Just thirty minutes later and I'm happily streaming video to my wireless portable devices in parts of my house that were previously useless.

Technical Summary

  • First Router
    • 192.168.1.1
    • DHCP to use the range 192.168.1.3-192.168.1.254
    • A wireless channel like 11
  • Second Router
    • 192.168.1.2
    • DHCP is disabled
    • Identical wireless security setup as First Router
      • Except the wireless Channel. Try channel 6 if the first is 11.
    • Plug hard-wire into the LAN port, not the WAN port.

Related Links

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Hosting By
Hosted in an Azure App Service
September 13, 2010 4:19
Heya Scott,

"Of course, you'll need an ethernet run going from a LAN port on your first router to a LAN port on your second router."

er... what happens if this is not possible? can you still achieve the same outcome? extending the wifi bubble at home with the 2 routes sans interconnecting cable?
PK
September 13, 2010 4:39
If you can't connect them with a hard wire, there you'll want to use Wireless Distribution System (WDS).
September 13, 2010 4:44
PK:
As a quick and easy (but slower) alternative to cat5/cat6, you can use MoCA adapters for a quick and dirty LAN over existing Coax (without conflicting with your TV bandwidth) to act a bridge to the remote access point and get around 100Mbit over it.

To hold us over until we got around to wiring our house, I use one downstairs, plugged into a WAP to extend our wireless coverage for the Wii. At the time, there were none commercially available, so I picked up 3 Motorola NIM100 units on ebay. These days, I think Netgear and a couple others make them as well.

As a bonus, if you are on FiOS, the router Verizon supplied you likely already has one MoCA adapter built-in for the router end of the connection. It's how most FiOS routers talk to the hookup and to pass VOD and guide info to the FiOS TV set top boxes.



September 13, 2010 5:48
@PK

If your router is compatible with DD-WRT, you might wanna check it out, its a much better firmware than most routers have and gives you tons of new options, including setting up a wireless bridge. Basically router #2 should be able to get some decent signal from router one, so it picks up the signal and then re transmit it again. You should try putting router B between router A and the place you wanna get the wireless.

NOTE: router 2 will be working half-duplex so it will have its bandwidth reduce by half, since it cant receive and send at the same time so it will switch very fast between the two operations. Still unless your Internet speed is the same or higher than your routers speed, it should not be a problem (but you'd probably notice when copying/viewing stuff from your own network)
September 13, 2010 6:57
You and your family are going to probably suffer some sort of brain tumor or something when you're 70+ years old due to all the wireless signals traversing your home. I'm sure no one knows the long-term affect of this due to the rapid increase in bluetooth, wireless, and other frequencies....

September 13, 2010 6:59
Is that your FIOS modem just dangling in the cabinet? Opener up, Scott! Let's see exactly what you got in there!!!
September 13, 2010 7:22
Hi Scott this setup is simply setting up a repeater. Mentioning this bc the title is kind of cumbersome - you could say, "Setting up wireless access points as repeaters". By definition, repeating a wifi signal means a single SSID with multiple access points.
September 13, 2010 7:22
Hi Scott this setup is simply setting up a repeater. Mentioning this bc the title is kind of cumbersome - you could say, "Setting up wireless access points as repeaters". By definition, repeating a wifi signal means a single SSID with multiple access points.
September 13, 2010 8:38
@Joseph But it's not a repeater setup. The second router is not repeating the WiFi signal, it gets the connection from a hard wire. I've got the same setup at my house using Apple gear (routers that do expect you to do this, making it a bit easier), and it differs greatly from the former repeater that I did have setup.

Google OpenID guy above describes setting up the spare router as a repeater, and the disadvantage of doing so (half speed). Scott's setup has the advantage of full speed, and probably better reliability as I never had great luck with any kind of a repeater.

If Scott wanted to shorten the title, he could use "roaming", but then it wouldn't be terribly obvious to any but the initiated.

mikestew (in case OpenID masks my identity, too)
September 13, 2010 11:12
I did the same a few months back and overall it works well. What I do find with iPad / iPhone is that they annoyingly hang onto their existing access point down to a very low level rather than changing to the the higher level closer access point. This happens if one moves devices around the house, but naturally is ok if devices are relatively static
September 13, 2010 11:36
Hi Scott, you shouldn't need to unplug your existing router to configure the new one. If your laptop supports MDX (and most do, unless it's really old) you can plug directly into the router, configure your settings and once it's complete connect it to the main network.

Powering down your router really should be a last resort type of move. For me, it also handles the television and phone. Something like that definitely gets noticed.

Also, what your doing is, I believe, called a wireless distribution system (WDS). My router uses DD-WRT so I have repeater, bridge, and infrastructure as mode options.
September 13, 2010 12:01
Technically speaking your secondary "router" is not a router, but an access point. It will route nothing, it just passes all packets from the Air to the Ethernet and back, regardless of the IP-Addresses or Networks used in them.
It wouldn't even need an own IP-Address, that's only used to configure the device.
September 13, 2010 15:26
Hmmm, now I'm wondering if we've hit upon a solution to "jamming" my neighbor's open Wifi so the kids don't jump on his to surf the net at night. If I setup a spare router to have the same SSID as his and the same channel, my "fake" signal would be stronger and the kids would attach to it and not the neighbor's. I'm sure the kids would initially think the neighbor got a new router or something since the signal would be better.

So then I could send the iPod Touch requests to the big bit bucket in the sky, or better yet, let it get to the net and monitor what they do in the middle of the night. Would this work?
September 13, 2010 16:00
Hey Scott,

I had the same issues with my FiOS wireless router, but since I hate their hardware so much and I didn't have a second Verizon router, I improvised.

What I did was setup two Linksys routers using ddwrt custom firmware. Then I set the Verizon router to pass through from the fiber box directly to my primary Linksys router. My FiOS router is then plugged into the primary router to receive a DHCP address (For the set-top box network) Then with the custom firmware I setup a wireless bridge between the two Linksys routers.
The benefit here is, that both Linksys routers are connectible wirelessly AND via wire, with only the primary dealing out IP addresses.

It's a pain to setup, and annoying because the fiber box in the basement is tied to Mac Addresses, and kind of shuts off for an hour after a mac address cloning. It's hard to tell if you've done it correctly right away because of that. Another annoying issue is that every time the power is cycled on the Verizon router, or Verizon pushes down an update, I need to go back in to the web interface and re-enable the coax network.

The benefits are great though, the Linksys routers seem to be a lot more powerful, handling more connections and speed than the Verizon router. Also with the custom firmware, they support better throttling of certain protocols, and have a bunch of other features.

Just my two pennies.
September 13, 2010 18:46
Hey Scott,

I'd recommend taking a look at InSSIDer if you haven't used it before. It's a free wireless utility that shows you hotspots, signal strength, and channels for networks in range. Some of your signal strength issues could be from interference from neighbor's Wi-Fi, it's really easy to identify what channel you should use. It gives you a real-time graph similar to your Wikipedia graphic showing what channel each access point is on. It's been a lifesaver at my house where we have a dozen Wi-Fi networks in range.
TJ
September 13, 2010 19:18
This is NOT WDS or a repeater as some of the commenters have suggested.

With WDS or a repeater the second access point is basically receiving the WiFi signal from the main router and retransmitting it on a different channel. In Scott's solution he is taking a router and tricking it into acting like an Access Point, so the backhaul to the rest of the network is wired not wireless. That is a much better solution as you are effectively doubling your total WiFi bandwidth. Each wireless router/AP is only going to transmit traffic destine for clients associated with that specific AP.

You can eliminate about half the steps if you just use an Access Point instead of a router, but if you already have a router sitting around then disabling DHCP is an easy trick to save you from having to buy yet another device.
September 13, 2010 19:33
@Scott
I set up a Wireless Distribution System (WDS) about a year ago using two Linksys routers (one downstairs and one upstairs) and it has been working flawlessly ever since. I used tomato firmware, but DD-WRT would also work.
September 13, 2010 20:55
I simply added a range extender to support wireless access in a 3 floors house. However I am thinking about doubling them with wireless routers that do NOT hand out ip addresses but add extra security protocols: WPA for old (and not so old) handheld devices on one device and WEP(2) for better secured machines.
September 13, 2010 21:28
Thanks Tony. Yes, you can certainly get/buy/beg/borrow/steal an AP. However, as you point out, folks have piles of standard routers lying around their houses, as I did, so it's a reasonable solution.

I updated the post, just to be clear. This is not a repeater, it's a second AP plug directly into the first's hub. This is the cheapest and FASTEST way to double my wi-fi bandwidth internally and close all "dead spots."

With regard to DD-WRT, I've used it on and off since 2004/5. I've got a number of posts on it, like

Own a LinkSys WRT54G? Sveasoft released Alchemy v6.0RC6
Altnernative Linksys Firmware

Joe Chin - Yes, I agree that I could have plugged my second router directly into the laptop for configuration, but I was assuming that not everyone has a laptop with MDX and honestly, I don't think turning off the router for 10 minutes was the end of the world. It runs the phone and TV at my house also, but I just asked folks, gave them a heads up and rebooted. Still, it IS a valid alternative as you rightly point out.

dm3281 - That's a Vonage box "dangling" and it's actually velcro'ed in.

RHertzler - Only if you know your neighbor's wifi security password.
September 14, 2010 1:46
If you first attempted to connect where the router without DHCP was closest, wouldn't you not be able to aquire an IP address if you were relying on DHCP?
September 14, 2010 1:53
John - because DHCP is disabled on the second router BUT the second router is directly connected to the LAN ports (on each side) with the primary router, DHCP would be handled by the primary. You'll get an IP no matter which AP your wireless associates with.
September 14, 2010 2:57
Scott,

Wow... I did this years ago... although the kids kept tunring the upstairs router off complaining it made a high pitched whining noise that I couldn't hear. I guess as you get older you loose your hearing range.

I am surprised you use DHCP for everything. I have my DHCP set to start at .100 because I have networked printer, media pc that I remote into, and a couple of other devices that I prefer to have a static IP. This is especially nice because since I did this I never see the "another device already has this IP" since the routers I have seem to loose there DHCP lease tables on restart.

Glad to see you are embracing teh Wifee!

BOb
September 14, 2010 4:00
Test with Google OpenID (that steaming pile)...
September 14, 2010 4:30
hooray for openid comments!
September 14, 2010 20:16
Scott,

Have you found any problem changing from wifi zones with an iPhone or a Windows Mobile?

I have a similar wifi configuration in my company and if I change wifi zones with this kind of devices on, they stop working and I have to turn off them to be able to reconnect.
September 15, 2010 17:10
ah man just throw it all away and user power plugs instead, there really great
and if you absolutley have to use wireless get an wifi to powerplug plug that will take wifi in the room your in and run it through poerplug

powerplug to poewerplug is running at 200 - I have about 8 plugs now and its great - plug and forget

Martin K
September 15, 2010 23:01
A couple of thoughts:

1. You can get an inexpensive power-line based extension point to bridge two or more wireless routers even if they don't support WDS and if you don't have a hardline between the two.

2. Many newer wireless router vendors now simplify this process by selling range extenders and access point gear. I use NetGear's WN200RPT and it works great - it's entirely transparent and will coexist with any other manufacturers B/G/N router. If you don't have existing gear that you can salvage - it's cheaper and easier to just purchase one of these.
September 17, 2010 7:28
Thanks Scott, this was really helpful. I've been wanting to do this for a long time. Just never got all the settings quite right.
September 19, 2010 2:37
I configured two of my linksys routers as you specified above, but when you move between the routers, it doesn't pickup the stronger signal. If I'm connected to the access point and then walk close to the router, the access point will have 1/5 bars and the router will have 5/5 bars, but the signal still comes from the access point and never switches over to the stronger signal.

I was hoping it would be able to automatically switch at some point. The only way I can get it to switch to the stronger signal is to manually disconnect wireless and then reconnect.

Did you run into anything like this? Do you have any insight into how to make your laptop pickup the stronger signal?

Chris
September 26, 2010 8:48
It seems to me that you could avoid making any changes to the first router if you assign the second device an IP outside the usual DHCP range for that device -- say, 192.168.2.1.
September 26, 2010 9:08
But then I'd need to change the subnet mask from 255.255.255.0...no?
October 20, 2010 4:08
Nice article!

I need to set up a wireless network in a large room that will receive several guests at a upcoming symposium. I searched the web how to solve any problem of signal coverage that may appear and several websites, suggested an approach like yours: two APs using different channels, one SSID with DHCP and NAT enabled on only one of them.

With the problem of signal coverage solved, a coworker brought another worry: is it possible to overload the NAT and DHCP enabled AP with the large number of connections since the address translation and the IP configuration supplying will be in charge of just one device?

It would be better to enable DHCP (with differents IPs range) in both APs and maintain the same SSID? Would it work for roaming clients?

Thanks in advance for any help.
October 21, 2010 22:31
Hey Scott,
Thank you so much! We had been trying to figure out how to get wireless internet up to our Tiny House from the main house at the Buddhist Retreat where we live. The plans you laid out worked perfectly along with a 300 ft. Cat6 waterproof cable dropped into a conduit!

Anyway, just wanted to say thank you!

Blessings,
Elisa
October 29, 2010 14:58
Hey Scott (and others),

Great article -- thanks!

I did the setup described with a Zyxel P-660HW-D1 as primary and a D-Link DI-524UP as secondary router. Everything works fine, except that my devices won't get an IP address assigned if they connect to the secondary router first. If they connect to the primary router first and I carry them to the area covered by the secondary, they keep their connection to the 'net.

Any ideas on how to make the secondary router acknowledge an IP address request and forward that?

Thanks,

Christian Riis
November 21, 2010 19:01
Great article, Scott.

I have a ZyZel ADSL modem/router, but the signal strength in parts of my house is quite weak. I have a second 3Com router, which would seem a free way to boost the signal. However, I'm a little unsure of the best way to configure it.

The 3Com router has a WAN port and 4 LAN ports. After I disable DHCP, should I connect it to my main router by the WAN port or one of the LAN ports?

Thanks.
December 01, 2010 12:31
Are you looking for wireless internet availabilty in your area? Now you can find wireless internet providers with the best price and all local and special discounts.Check out the details of wireless internet at http://www.highspeedinternet.com/wireless-internet
December 20, 2010 10:03
I would configure the first AP to give out IPs from 10 to 124 and leave DHCP on for the second one with addresses from 125 to 254. That way if one of them tanks, you're still getting a local IP to attempt connecting and diagnosing. Also, leaving room for some more static IPs up top (like for an XBMC machine or something)
December 22, 2010 12:18
@Guilherme: use two APs, two net connections, two DHCPs with distinct pools, etc. Link them on the internal side, as below, if you like, but it's not important .. much. You could go with two separate SSIDs, and essentially two completely distinct installs, but there's some benefit to sharing one broadcast domain.

@Christian: chain your second unit from the first by ignoring the second unit's WAN/Internet/Upstream port and connecting via one of the (4?) downstream/LAN/switched ports. It'll work like a dumb hub with sprinkles, giving you the AP extension and a few ports, but in a bridged setup and not a NATted setup -- because if you're hooking #2 to AP #1, your hosts connecting to #2 will need to traverse the NAT in #2 just to get to #1's internal-side LAN clients, which is no good if you're doing any peer or serving from a host on #2.

January 15, 2011 21:17
Thanks for useful HOW-TO, Scott. I intend to replicate this setup in my home in a few days. I do have a follow-up question, though.

After I have everything set up as you did, I plan to configure yet another (third) router at my neighbor's in bridge mode to let him connect his WD TV Live to my NAS. I am puzzled by the warnings in the router manual that router acting as a bridge _must_ have the same channel as the wireless network it is bridging to. In the above case, what channel would that be?
March 14, 2011 0:17
Great source of information everyone....thank you.
I have VERIZON FIOS with a wired home (CAT6) network and my actiontec VERIZON issued wireless router in the basement. I have an ethernet port all the way in my bedroom 4 floors above where i have virtually no signal. I am getting an IPAD soon and want to be able to use WIFI in my bedroom...also for the occasional use of a laptop. Does anyone have a recommendation for the kind of wireless access point i should get ? Is a D-link acceptable or should i spend a little more on a netgear model? Someone told me that same SSID wont be a good configuration option but i dont like the idea of having multiple networks at home.
April 13, 2011 17:07
Well-written article, Scott. I'm about to do the same thing for my church but with Verizon DSL and two Linksys wireless routers (WRT160N and WRT400N). This is just the information I needed!

Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.