Improve company productivity with a Business Account.Sign Up

x
?
Solved

Linksys WRT160N DHCP Problem

Posted on 2010-09-15
8
Medium Priority
?
1,480 Views
Last Modified: 2013-12-27
I have a Linksys WRT160N Wireless Router/Access Point that I am trying to use behind a Watchguard Firebox firewall.  The Watchguard Firebox acts as a DHCP server handing out addresses to a network for hardwired network items such as a network printer, desktop PC and a NAS device and is set to give addresses of xx.xx.xx.100 and below.  I want to have the WRT160N to act as a DHCP on the same network for my wireless laptop and limit it to handing out addresses beginning at xx.xx.xx.190.  The problem I am having is that when I assign the WRT160's device IP address to the same network (i.e. xx.xx.xx.160) and try to have it act as a DHCP server, it will assign an IP to the wireless laptop OK, but within a few seconds, I lose all connectivity to the internet on the wireless laptop.  The WRT160 works fine as a DHCP server as long as I leave it on a seperate netork (i.e default of 192.168.1.1 or any other) and the problem only occurs when I try to  make it work on the same network as the other devices.  The WRT160N is a version 2 with firmware version 3.04.  Any ideas?
0
Comment
Question by:gboo19
8 Comments
 
LVL 11

Expert Comment

by:CynepMeH
ID: 33685607
Make sure both DHCP scopes are configured with the same parameters - e.g. DNS server, default gateway and there's no address overlap. Keep in mind that whichever DHCP server responds first, that's the one that's going to hand out address. Also confirm your lease times are not too short, resulting in client having to renew lease frequently and possibly having another DHCP server hand out the lease.

When you run IPconfig /all - ocnfirm that a)the dhcp server you expect is the one that handed out address b)dns settings are correct c)default gateway and subnet mask are correct e)lease duration is something reasonable - say 4 hours or more.

My recommendation though would be to stick to a single DHCP server in a setup like yours.
0
 
LVL 5

Expert Comment

by:Chickensaur
ID: 33685623
It has been my experience that this is not possible.  I may be wrong but what happens is each DHCP "server" tries to take control of the addresses and one eventually fails.  
0
 
LVL 5

Expert Comment

by:StefanKamp
ID: 33685656
It's technically impossible to run more than 1 DHCP server in one subnet. In your setup, it's quite variabel who will hand out the IP address, as it then depends on which DHCP server is the most quickest of both, then it may receive the answer from the other DHCP server as well (but a few secs later), causing your networkadapter confused.

I believe you only have to options:
1. shutdown the DHCP server on 1 device --or--
2. connect the Watchguard to the wanport of the WRT160 instead of LAN, enable DHCP on the WRT160 handing out addresses in another subnet
0
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
LVL 11

Expert Comment

by:CynepMeH
ID: 33685774
Not to be a techno-snob, but it IS possible to run multiple DHCP servers on same subnet, you just have to configure it properly. Please see (DHCP 80/20):

http://technet.microsoft.com/en-us/library/cc958936.aspx

0
 

Author Comment

by:gboo19
ID: 33685815
Thanks to all for the responses.  I am somewhat of a newbie using multiple routers, but I now understand that the issue likely is trying to run 2 DHCP servers on the same subnet.  The wireless is "behind" the Watchguard firewall and the Watchguard is the primary gateway to the internet.  If I disable the DHCP server on the wireless, make the IP of the wireless static on the network I want to use, will the Watchguard DHCP server pass IP addresses through the wireless to assign them to my laptop?  The laptop IP doesn't have to be 190+.
0
 

Author Comment

by:gboo19
ID: 33685848
Thanks CynepMeH.  I'll try that tonight when I'm home.
0
 
LVL 11

Accepted Solution

by:
CynepMeH earned 2000 total points
ID: 33685931
Yes. Configure as follows:

1. Provide static IP to your Linksys, set default gateway pointed to watchguard, same subnet mask as watchguard (I suspect 255.255.255.0). Turn off DHCP on it.

2. Unless you have specific IP addresses for DNS servers that you have to use, your DNS should be pointed to your Watchguard as well.

3. On Watchguard, make sure DHCP scope is set up properly as well - e.g. it picks up your ISP's DNS parameters and hands them out to your clients, which seems to be the case.

When your client connects to Linksys, it will send a dhcp broadcast and your watchguard should reply with an address to be assigned to wifi client(s).

cheers.
0
 

Author Comment

by:gboo19
ID: 33705387
Thanks to all for the ideas.  Seems as though I was fighting a losing battle though.  Tried to setup using CynepMeH's last suggestion with no luck.  Ultimately, lost all connectivity to internet no matter what I tried.  Tried multiple nights to no avail.  Wireless wouldn't even connect when I tried connecting direct to DSL modem without other firewall.  Seems like the wireless router was going/went bad.  Got a new one today and tried CynepMeH's suggestion and WA-LA... everything works fine.  Thanks!
0

Featured Post

Building an Effective Phishing Protection Program

Join Director of Product Management Todd OBoyle on April 26th as he covers the key elements of a phishing protection program. Whether you’re an old hat at phishing education or considering starting a program -- we'll discuss critical components that should be in any program.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
What monsters are hiding in your child's room? In this article I will share with you a tech horror story that could happen to anyone, along with some tips on how you can prevent it from happening to you.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question