client mode problems...

headstrong

Expert Member
Joined
May 10, 2006
Messages
1,099
Reaction score
0
Hi

I am using the following Wiki as a reference.......
http://www.dd-wrt.com/wiki/index.php/Client_Mode_Wireless

1)It however doesnt state what the WAN settings must be on the gateway router....... must I leave it on automatic/DHCP????
2)What must my modems IP be because it is 192.168.1.1 by default, which is the same as the gateway routers IP...
3)Must DHCP be enabled on the modem?

Please help me out with the above!

Regards
 
If i understand correctly, you have a wireless ADSL modem/router with DHCP enabled and set as a AP with WEP. Your second router must be set to client mode.

1.) The gateway router(The adsl router) must be left to pppoe and the client router must have a IP

" Set Wireless Setup.Internet IP Address = 192.168.1.2 (or whatever ip address you identified in step 2 of preperation)
Set Wireless Setup.Subnet Mask = 255.255.255.0 (same as assumption #3)
Set Wireless Setup.Gateway = 192.168.1.1 (Same as assumption #2)
Set Wireless Setup.Static DNS 1 = 192.168.1.1 (Same as assumption #2)
Set Wireless Setup.Static DNS 2 = aaa.bbb.ccc.ddd (Same as assumption #4)
Set Wireless Setup.Static DNS 3 = aaa.bbb.ccc.eee (Same as assumption #5)
Set Wireless Setup.Router Name = BRIDGE (doesn't matter what you name it)
Set Wireless Setup.Host Name = BRIDGE (doesn't matter what you name it)
Set Wireless Setup.Domain Name = Blank (unless you have a reason to enter it)
Set Wireless Setup.MTU = Auto
Set Network Setup.Local IP Address = 192.168.2.2 (increment the 3rd octet of the Wireless Setup.Internet IP Address field by 1, e.g 192.168.1+1.2. So now 192.168.1.2 is your ROUTER facing IP and 192.168.2.2 is your CLIENT network facing IP.
Set Network Setup.Subnet Mask = 255.255.255.0 (Same as assumption #3)
Set Network Setup.Gateway = 192.168.2.2 (Same as #13 above)
Set Network Setup.Local DNS = 192.168.1.1 (Same as #6 above)
Set Network Setup.DHCP Server = Enabled (To let the CLIENT issue dynamic IPs to the devices hooked up to it)
Set Network Setup.Starting IP Address = 192.168.2.100 (You may have to click on Save Settings button before you see 192.168.2 written in this field. If you do, make sure you connect back to the CLIENT using the ip address is #13 above)
Set Network Setup.WINS = 0.0.0.0
Click on Save Settings button. Notice that after this configuration, your CLIENT bridge/router has a different IP address for administration. So if you are not automatically redirected to the new IP, you may have to connect to the administration web page by typing 192.168.2.2 yourself. Also note that at this stage, you may not be able to connect to the new IP unless you are using a computer hooked up to one of the LAN ports of the CLIENT itself. And you may need to temporarily setup your computer's TCP/IP config to use a static IP in the 192.168.2.* subnet.
"

2.) The modem's IP can stay 192.168.1.1

3.)It should not matter because:
"Devices connected to the Client Mode router will not be able to use the DHCP server from the host router. Also, a device connected to the Client Mode router should use the Client Mode router as it's gateway and DNS server."


Another less confusing way is to switch off DHCP on your client router and give everything fixed IP's, for instance, give the client router an address op 192.168.1.2 and your client pc's that are plugged into the client router an IP of 192.168.1.3/4/5/6/7/8/9 and so on with a default gateway of 192.168.1.1 and your ISP's DNS.
 
Thanks WCBRD,

My adsl modem is separate to the gateway router...

I understand that I need to plug the modem into the gateway router's WAN port.....The modem will be in pppoe but what about the gateway routers internet settings? Must I leave them as default but then I would need to turn the adsl modem's DHCP server on?

Thanks again!
 
Maybe you should explain your setup a little more then, from the wiki i understand that you are trying to connect a router(linksys or whatever) that is in bridge mode to a modem/router that is set to AP and that is also your ADSL router/modem/gateway.

If you are connecting it by just using the cable you cant use the wan port. If they are on the same subnet, ie. 192.168.1.? then you can only have 1 DHCP server (use your gateway router) and different IP's for everything as you probably already know.
 
Last edited:
ADSL modem---(ethernet)---->(WAN Port)linksys wrt54g(gateway) ---(wireless link)------>Linksys wrt54gl(Client mode)---(ethernet)--->desktop pc

The adsl modem is in bridge mode and has DHCP turned on..Its IP is 192.168.1.1

The linksys wrt54g is the gateway:

Internet: pppoe
Local IP 192.168.2.1
Subnet IP 255.255.255.0
Gateway IP 192.168.2.1
Local DNS IP 196.168.2.1
Wireless mode: AP
Channel = 12
Encryption = disabled

DHCP is turned on: starting IP 192.168.2.100
DHCP: DNS1 = 192.168.2.1
DHCP: DNS1 = 196.43.**.***
DHCP: DNS1 = 196.43.**.***


The linksys wrt54gl (running dd-wrt v23sp2) is the client router:

Internet: DHCP *should I set this to pppoe?*
Local IP 192.168.2.2
Subnet IP 255.255.255.0
Gateway IP 192.168.2.1
Local DNS IP 196.168.2.1
Wireless mode: client mode
Channel = 12
Encryption = disabled

DHCP is turned on: starting IP 192.168.2.50
DHCP: DNS1 = 192.168.2.1
DHCP: DNS1 = 196.43.**.***
DHCP: DNS1 = 196.43.**.***

Desktop pc running winXP with IP set to obtain automatically...


I cannot seem to get the desktop to access the internet....? What have I missed out?

Thanks
 
Last edited:
Why not try:

Leave ADSL modem as is with same IP and make sure DHCP is on only on this router(does the pppoe, remove bridge mode)

Change the IP of "linksys wrt54g" (gateway) to Static IP and assign it something like 192.168.1.2 with gateway 192.168.1.1 and the usual DNS and remove DHCP and plug it into the ETHERNET port of your modem. Leave your wireless settings as is (Wireless mode: AP Channel = 12 Encryption = disabled)

Change the IP of "wrt54gl (running dd-wrt v23sp2) is the client router" to Static IP and assign it something like 192.168.1.3 with gateway 192.168.1.1 and the usual DNS and remove DHCP. Set up the wireless as you did and they should all be on the same subnet and any pc, being wireless or on the wired side should receive its DHCP from the ADSL modem.

This is what I would try, its not anything near the wiki and i would use wpa as my security on the wireless side of things once everything's working.

Good luck and let me know...
 
Its working now! Thanks wcbrd!

The problem was because I was too impataint and I didnt give routers enough time to reboot!

thanks again!
 
Top
Sign up to the MyBroadband newsletter
X