setting WDS multiple router setup on dd-wrt

WDS multiple router setup
This is a 3 router WDS setup using WRT350N and 2 WRT54G, with the 1st WRT54G connecting to the WRT350N, and the 2nd WRT54G connecting to the 1st WRT54G. I have also tested with WRT600N, WRT310N, WRT300N and WRT54GS, so any broadcom-based device should work with these settings If you only need a 2 router WDS setup, simply ignore the third router setup options; alternately if you need more, just add as needed.

Router 1: WRT350N
Basic setup page:
IP 192.168.1.1
netmask 255.255.255.0
DHCP server enabled

Administration tab:
change TCP timeouts to 120s

Wireless settings:
Make sure all units are using WPA2 Personal AES encryption, same SSID, and wireless channel(s)
(i.e all WPA2 AES, SSID 'ddwrt', channel 6)
on WDS tab set to 'LAN' mode and enter MAC address from first WRT54G
Advanced wireless settings:
CTS Protection Mode disabled
Preamble Auto

WRT54G 1
Administration tab:
change TCP timeouts to 120s
change max connections to 1024 if it is set to 512
Services tab:
disable WAN traffic counter and DNS masq

Security tab:
Uncheck 'filter ident' and 'block WAN requests', then disable SPI firewall

Wireless settings:
Wireless mode: G-only
Make sure all units are using WPA2 Personal AES encryption, same SSID, and wireless channel(s)
(i.e all WPA2 AES, SSID 'ddwrt', channel 6)
on WDS tab set to 'LAN' mode and enter MAC address from WRT350N and MAC address from second WRT54G
Advanced wireless settings:
CTS Protection Mode disabled
Preamble Auto

Basic setup page:
Connection type: disabled
IP 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
Assign WAN port to switch checked (optional)
DHCP server disabled
Uncheck all 3 boxes in DHCP section (Use DNSMasq for DHCP/Use DNSMasq for DNS/DHCP-Authoritative)

WRT54G 2
Administration tab:
change TCP timeouts to 120s
change max connections to 1024 if it is set to 512

Services tab:
disable WAN traffic counter and DNS masq

Security tab:
Uncheck 'filter ident' and 'block WAN requests', then disable SPI firewall

Wireless settings:
Wireless mode: G-only
Make sure all units are using WPA2 Personal AES encryption, same SSID, and wireless channel(s)
(i.e all WPA2 AES, SSID 'ddwrt', channel 6)
on WDS tab set to 'LAN' mode and enter MAC address from first WRT54G
Advanced wireless settings:
CTS Protection Mode disabled
Preamble Auto

Basic setup page:
Connection type: disabled
IP 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1
Assign WAN port to switch checked (optional)
DHCP server disabled
Uncheck all 3 boxes in DHCP section (Use DNSMasq for DHCP/Use DNSMasq for DNS/DHCP-Authoritative)

Reboot first router, then once first router has internet, power up second router, then third, etc...
That's it!