Tip: Best network setup to co-exist 802.11G and 802.11N

Share this:

If you just gotten a 802.11n wireless router to upgrade your existing 802.11g router, I bet that you would be wondering how you should set it up to ensure co-existance with older devices and still get the benefits of the much faster 802.11n speeds. Let’s face it, you (and I too) would like to go exclusively 802.11n with it’s 5GHz channels that is much less saturated compared to the over congested 2.4GHz channels that 802.11g uses. However, it’s likely that you have a bunch of 802.11g devices that needs to connect to the network as well. And not to also mention 802.11n that only supports 2.4GHz channels (such as the iPhone 4).

Here’s the catch, if you run your 802.11n router on 2.4GHz channels, chances are you won’t be getting the best speeds that it can potentially offer you. Also, if you configure the router to run the mixed-mode, both 802.11g and 802.11n, and if you have 802.11g devices connected to the router, then speeds will drop to 802.11g speeds as well in most cases.

So, if co-existing both 802.11g and 802.11n is such a pain, why bother getting the upgrade in the first place! There MUST be a way to get both of them to play nicely right? Yes. There are indeed 2 ways to do so.

One, get a router that supports simultaneous 2.4GHz and 5GHz channels. If you got one of these. Then make sure you set it up to run both channels simultaneously if it’s not already set to do so. Only one problem, these routers are quite expensive! And if you are like me, you’d rather spend the extra dollars elsewhere.

So on to the second option then!

The idea of the second option is much like the first. Since 802.11n don’t play nicely with 802.11g, those expensive wireless routers just make sure it runs both at the same time. So if that’s how it’s done on those wireless routers, you can also do the same by running two wireless routers, one exclusively on 802.11n on 5GHz channels and the other on 802.11g on 2.4GHz channels! The only catch with this option, you would need to know how to set up the two wireless routers to play nicely along each other AND you basically have roughly 2x the power consumption.

As for me, the second option is exactly what I’ve done for my home wireless network, using the Linksys WRT54G and Linksys WRT320N wireless routers. It also helps that both routers supports the 3rd party DD-WRT firmware that has a whole lot more options to configure and tweak these routers.

I’d share my setup below based on the configurations of the two routers mentioned above but you should be able to get the idea how the setup is done.

In a nutshell, the wireless routers are setup as per the diagram on the right. Since the WRT320N is suppose to be the primary wireless router, I decided to set it up as the ‘heart’ of my home network, acting as the gateway for Internet connections as well as all the necessary network services, such as DHCP, Firewall, and etc.

With DD-WRT, there are a few key configurations that you will need to make sure you set up on the 802.11n wireless router to ensure that you get the full speed.

BTW, I’m currently using the latest stable release (as of this writing) which is DD-WRT v24-sp2.

On the WRT320N, setup the required settings for your Internet (WAN) connection as usual and make sure DHCP Server is enabled. You may set the IP ranges to your fancy, or just use the default 192.168.1.x ranges.

Now, here’s the tricky part for 802.11n. Firstly, let’s make sure it runs only on the 5GHz channels. In order to do that, you need to head over to the Wireless settings tab and make sure the following are set.

It’s important to note that the in order to limit the wireless channels to the 5GHz band, NA-only mode is required to be used. I decided to allow the wireless router to automatically set the channels as it sees fit since there’s no nearby router using the 5GHz range. (Yay to no interference!) You’d also want to set the Channel Width to 40MHz to get maximum channel bandwidth, especially since not many uses the 5GHz band.

Now that you’ve set the 802.11n router to run exclusively on the 5GHz channel, next, let’s make sure the router is set with the only security setting that 802.11n requires in order to get full speeds. Yup. It has to be ONLY on WPA2 + AES security. Anything else would mean NOT getting the promised 802.11n speeds of (potentially) up to 300Mbps.

With that set, you pretty much is done with what’s required for 802.11n. Do of course, configure the rest of the router to your fancy as well, especially so if you are also using the DD-WRT firmware.

Next, let’s setup the WRT54G (or your 802.11g router) so that it would allow any devices connected to it to also join the network and get Internet connections.

Firstly, let’s make sure it’s own IP does not conflict with the 802.11n router. To do so, just use an ethernet cable and plug you notebook directly into the WRT54G router to set up the router’s IP. In my case, since the WRT320N is on 192.168.1.1, let’s just set the WRT54G to be 192.168.1.2.

Also, let’s make sure the WAN setup is also disabled since it’s not required to connect to any WAN network (unless you have such a need, but let’s not complicated matters here.)

To keep things simple, let’s make sure the 802.11g devices joins the network using the same DHCP server as the 802.11n devices so there will not be any IP conflicts. All you need to do is set-up the WRT54G’s DHCP Type as a DHCP Forwarder and point it to the WRT320N router’s IP address.

Next, you would also want to make sure that the WRT54G routing tables are in-sync with the WRT320N which is acting as the network’s gateway. To do so, go into the Advanced Routing tab under Setup and make sure Router mode is selected.

For the wireless settings, just set it as your liking. For me, I decided to keep it only on 802.11g mode since I don’t have any old 802.11b devices anymore. But make sure the SSID is different from the 802.11n router so you can recognize between the two. Also, make sure an unused channel is used to avoid interferences. To do this, simple use a WiFi scanner and see all the available WiFi access points around your area and choose the channel that’s not used. DD-WRT comes equip with a WiFi scanner in the Status -> Wireless tab -> Site Survey tool.

As for the 802.11g wireless security settings, you may set the same as the 802.11n router to keep things easy to remember or anything at all. I’d still recommend using WPA2 as it’s much more secure compared to WEP security.

And that’s it! Now you have two routers running both 5GHz and 2.4GHz channels simultaneously (sort of) to ensure maximum speeds and compatibility. Except perhaps for 802.11n devices that only runs on 2.4GHz like the iPhone 4, which would then need to connect to the 802.11g network. But then again, why would you need such fast local network speeds if you don’t transfer large (in gigabytes) files to/from you iPhone 4?

Share this:

You may also like...

9 Responses

  1. Bonerjamz says:

    I bought both of these routers and I’m going to set everything up just like you. Thank you for taking the time to post this informative writeup!

  2. Anonymous says:

    Let me know how it goes!

  3. Bonerjamz says:

    Quick question… I need to get DD-WRT fixed on my 320 before I move forward, but do I plug the ethernet cable from the 320 into the ‘Internet’ port on the 54g or one of the LAN ports?

  4. Anonymous says:

    Here’s what I did. In DDWRT, go to Setup – VLANs. There, you’ll see how all the ports are being configured. Basically, you’d see the W (WAN) port separated from the other 4 ports. Just check the W port into the same VLAN as the other 4 ports.

    With that, you can use any of the 5 ports to connect your 320N to the 54g.

    Otherwise, if you don’t want to reconfigure the VLANs, then you’ll need to plug it into the LAN ports to keep it all simple in the same VLANs. Those devices connected to the 54G would not be automatically bridge to the devices connected on the 320N since it’s isolated on the different VLAN on the 54G.

  5. Bonerjamz says:

    Just did it and it works like a DREAM (using a WAN port). Did some tests and the new kanye album transferred from comp to comp on the G-only network in 4:03.3 (that’s minutes). On the N-only network, from comp to comp? 0:15.9 (SECONDS!!!!)

    Also, I was having a serious problem with DD-WRT (I’m on a Mac) and it turns out that it didn’t play nice with the latest Firefox version. Switched to Safari and it allowed me to change everything without problem.

    Thank you so much for this guide, and sorry for my semi-lewd name, I just hate signing into something just to leave a comment.

  6. Anonymous says:

    I use a Mac too and yea, you’d need either Safari or Chrome (or even RockMelt) to work properly on DD-WRT :)Anyways, thank you for taking the time to read and visit my blog, I’m glad I was able to help out. And don’t worry about the name thing, I didn’t even notice (or mind) anything weird about it.

  7. Jon says:

    Great stuff… Is it possible to set it up so both have the same SSID, or will the N devices not know which one to connect to, and may connect to the G router?

  8. Ken Ng says:

    Yes you can set both up with the same SSID, but I would not recommend it as you would not be able to know which router it’s connected to. The device would usually connect to the 1st strongest signal it find, and generally from my experience, G networks have stronger signals.

  9. Jon says:

    Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.