OUR NETWORK:TiVo Community TechLore Explore3DTV My DigitalEntertainer See all... About UsAdvertiseContact Us

Configure WDS with Tomato Firmware

A Wireless Distribution System is a system that enables the wireless interconnection of access points in an IEEE 802.11 network. It allows a wireless network to be expanded using multiple access points without the need for a wired backbone to link them, as is traditionally required.

This is a cheap and easy way to extend your wireless network coverage. It's cheap, because you can extend your network with couple of routers (which usually costs less that 60$) with the open-source firmware like Tomato including the Linux-powered Netgear wgr614L or other compatible routers. It's easy, because you need only apply a few configuration settings to your routers, creating a repeater bridge to extend your wireless network.

WDS Rules & Regulation

There are a few rules to implementing a functional WDS network. For optimal compatibility, you should use the same routers throughout -- or, in this case, the same firmware, running Tomato on both routers.


Both routers must communicate on the same wireless channel. Both routers must be configured to the same kind of 802.11 network, whether B, mixed B/G, or G. An exclusive G network must use channel 1, 6, or 11.

If you use WPA security, you must set up both routers as exclusive G networks. DD-WRT does not support WPA2 in WDS. WEP security can be used in a network with B support.

WPA security also requires identical SSID assignments for both routers. If using WEP or no security, you can opt to assign different SSIDs to each router. You may have more control over which AP your clients connect to if each has a different SSID.

WDS Step-By-Step

WDS reqquires to configure two or more Access point. For convenience I have described the configuration of two AP for the time being. However the number of AP is extendable. Figure 1 shows the configuration of Router 1 and Figure 2 shows the configuration of router 2.

Step 1: Set the LAN IP address for each router. Click Basic->Network and scroll to the LAN section. The default Local IP Address for your router is 192.168.1.1, which is usually fine. (The examples here also use 192.168.1.1, but it doesn't make any difference if you set it differnet - the first three octets of the IP address have to match for the nodes to communicate on the network.)

Assign a new Local IP Address to your second router. The logical choice would be 192.168.1.2

Step 2: On the same configuration page, scroll down to DHCP server checkbox. I enabled the DHCP server on both routers, but set them to assign addresses in different ranges. Router 1 will assign addresses starting at 192.168.0.100 and Router 2 starts assignments at 192.168.0.150.

You can set these parameters whatever you like, as long as your address pools don't overlap. With this setup, you can quickly tell from any client PC with which access point it is currently associated, based on it's IP address. That's sometimes helpful for troubleshooting.

Router 2 needs the DNS entries assigned by your ISP. Configure the DNS as shown in the image.

Step 3: Disable the Internet connection on Router 2 only. Click Basic->Network and under WAN Setup, set the Connection Type to "Disable."

Step 4: Disable the firewall on Router 2 only. You don't need this to be active because your second router is simply passing traffic to your primary router, whose firewall is active by default. Running both firewalls at the same time could cause unreliable behavior.

Step 5: Set the wireless network mode, SSID and channel for both routers. The operating channel should be same in both the routers. Click Basic->Network Settings. Set your Wireless Mode to "WDS" for both routers.

Router 1 should be configured with the MAC of Router 2 and Router 2 should be configured with the MAC of the Router 1. Please refer to the figure below.

Figure 1.a

Figure 1.b

Figure 1 : Configuration of Router 1

Figure 2.a

Figure 2.b

Figure 2 : Configuration of router 2

Now you have done with the settings. Now you should be able to access internet from the LAN side of both routers.

[Note: ] It is recommandable to back up the router configuration before playing with the settings so that you can go back to your earlier configuration in case you messed it up.

Read More In: WGR614L (Legacy Product)

Tune to Souvik Ghosh's blog for the newest tips, tricks, and how-tos on firmware for your open source router. His advice will help both novice users getting started in the open source world and advanced users looking for advice.


Featured Article

How To Maximize Wireless Performance on NETGEAR WNR3500L

by Brandon C on March 19, 2010 2:02 PM

Here are some handy tips and tricks to improving the wireless performance of your WNR3500L.

More »

Topics: Setup / Configuration

Discussion:    Add a Comment | Comments 1-15 of 15 | Latest Comment

September 3, 2008 10:35 PM

From above, I know it support Relay mode.

Does it support ad hoc mode, namely, it support P2P communication between the AP?

How to configue it if it supports.

View unverified member's comment - posted by Matthew

April 23, 2009 9:41 AM

This is very helpful. Many thanks.

One question, some guides suggest disabling DHCP on Router 2. You suggest enabling but using a different IP range. Any thoughts on the merits of the two approaches? Thanks again.

View unverified member's comment - posted by tonybean

July 21, 2009 1:42 AM updated: July 21, 2009 1:48 AM

thx for this "how-to" but i have one thing to criticize:
you do not mention to disable WAN on router2 AAAND (!) to set the default gateway/static DNS on router2!!!

i have configured both routers 1:1 with this how-to and it worked just fine for one week. yesterday, when I got home I could not access to the internet through router2. my first assumption was indeed a DNS problem but how the hell did it work until yesterday without a default gateway and DNS server set?

well, I googled around and found a WDS how-to for DD-WRT and there they set the default gateway and static DNS!

my very first feeling was right, there was the problem. after I set the default gateway at router2 to 192.168.0.1 (= router1) and the static DNS IPs to the ones from my ISP it worked once again just fine.

but i am really curious how it worked until yesterday without these settings? maybe the NVRAM or whatever still got this values set and through a bug accepted it and worked.

but never mind: the essential thing is to set the WAN TYPE on router2 to "disable" and configure the IP of the default gateway with the one of router1 and set the static DNS IP(s) to those which router1 receives (or you get from your ISP). that is the correct, long term working, set up!

View unverified member's comment - posted by Canoncola

August 30, 2009 6:13 PM

i would absolutely recommend it, yes. further, i am not sure whether the standard firmware supports WDS or not! so go fort sure and put tomato on both routers. positive side-effect: you can boost your transmit power on both routers and enable the afterburner ;)

September 12, 2009 5:13 PM

Thanks for the how to, I am experimenting with Tomato and this is very helpful

September 23, 2009 4:13 PM

I am still having issues qith this setup. is there a better step by step for this? I need WDS + AP to work. thanks!

September 23, 2009 4:15 PM

I am still having issues with the WDS + AP setup. I cant seem to connect to the 2nd AP. Is there a better step by step?

Thx.

October 26, 2009 8:52 PM

I am still having trouble. I have the two networks joined together. wds0.49153 is showing up in each others device list. But I can not ping each other router. I am not sure what I am missing.

October 26, 2009 8:55 PM updated: October 26, 2009 8:59 PM

I followed the instructions. I have wds0.49153 showing up in each others Device list. I can not ping each others IP address. How do you get them to pass traffic to each other.

If only I could delete my multiple posts.

April 19, 2010 5:00 AM

*** Deleted By Moderator ***


View unverified member's comment - posted by caglar

View unverified member's comment - posted by caglar

Discussion:    Add a Comment | Back to Top | Comments 1-15 of 15 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window