D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => DIR-685 => Topic started by: mmak on December 02, 2011, 07:04:13 AM

Title: DHCP does not allocate IP address
Post by: mmak on December 02, 2011, 07:04:13 AM
Firmware: 2.0

Recently I replaced Linksys router with DIR-685 one. I am experiencing a king of "going-to-sleep' with the DHCP service. After a while no additional client receives an address, neither from wireless nor from wireline. (I am using a separate  Wi-Fi access point, the one on the DIR-685 is disabled).
It behaves so until I reboot the device. Then it happily allocates and address.

Any clue?

Thanks.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on December 02, 2011, 07:31:34 AM
Some things to try:
Ensure DNS IP addresses are being filled in under Setup/Internet/Manual? You can find these under Status/Device Info/Wan section.
Turn off ALL QoS (DIR only) GameFuel (DGL only and if ON.) options. Advanced/QoS or Gamefuel.
Turn off Advanced DNS Services if you have this option under Setup/Internet/Manual.
Turn on DNS Relay under Setup/Networking.
Setup DHCP reserved IP addresses for all devices on the router. Setup/Networking. This will ensure each devices gets and keeps it's own IP address every time they are turned on.
Ensure devices are set to auto obtain an IP address.

Set Firewall settings to Endpoint Independent for TCP and UDP.
Title: Re: DHCP does not allocate IP address
Post by: mmak on December 02, 2011, 10:46:02 PM
All settings you suggested in your reply were exactly as you stated. No firewall rules activated. All end devices are set to automatically obtain IP address.
Do you have any other clues?
Thanks.
Title: Re: DHCP does not allocate IP address
Post by: ph0enix on December 03, 2011, 07:00:23 AM
Okay seems like there is a glitch, why not back-up your settings and do a "Restore To Factory Default Settings"

Then allocate the IP address......

I am currently using "Firmware Version :    2.01 ,  Wed 09 Mar 2011", router has been on for 12 days with no issue with the DHCP of 19 allocated I.P addresses.
Title: Re: DHCP does not allocate IP address
Post by: mmak on December 03, 2011, 10:12:56 AM
I will try the 2.01. Do you have a link?
Thanks
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on December 03, 2011, 12:17:34 PM
It should be on the DLink web site. What region of the world are you in?
Be sure to follow the FW Update Process sticky.
Title: Re: DHCP does not allocate IP address
Post by: ph0enix on December 03, 2011, 03:18:26 PM

If you got a NA region, the latest firmware is 2.0

Follow FurryNutz Sticky
http://forums.dlink.com/index.php?topic=42457.0 (http://forums.dlink.com/index.php?topic=42457.0)

Don't do step 5, due to the default settings has DHCP on by default, and your current settings is bugged.
Title: Re: DHCP does not allocate IP address
Post by: mmak on December 05, 2011, 10:41:10 PM
Hi guys,

I have applied 2.01 strictly by the rules. It did not help.
I think I will try to replace the unit though it is weird that one piece of software still runs (router) and the other goes to sleep (DHCP).

Thank you anyway. I will keep you updated.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on December 06, 2011, 08:10:16 AM
Were you able to set up reserved IP addresses on the router for your devices?
Title: Re: DHCP does not allocate IP address
Post by: mmak on December 07, 2011, 07:22:32 AM
No, the reserved addresses behaved the same way as the addresses from the general pool.
Today I will try the new box.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on December 07, 2011, 07:24:06 AM
Keep us posted.
Title: Re: DHCP does not allocate IP address
Post by: mmak on December 09, 2011, 12:55:39 PM
Bad news.
I installed a new box. It did not help. Behaves a little bit differently (sometimes replies and sometimes not, which makes it unpredictable).
My guess is that since the network worked perfectly with Linksys, the problem is somewhere between the DIR-685 and another box on the network that causes the DHCP on the router to sleep.
I will turn on Debug option on the log. Will see what I fish there.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on December 09, 2011, 01:03:55 PM
Check the cabling on the entire network. Make sure there isn't a bad wire some where as well. I recommend CAT 6 cabling.
Title: Re: DHCP does not allocate IP address
Post by: mmak on December 09, 2011, 10:08:50 PM
You are right. Some devices are more sensitive to cabling flaws then others.
Regrettably I have CAT 5e which places me somewhere between 5 and 6.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on December 10, 2011, 11:13:38 AM
Yes I've noticed this flaw sometimes. I bought a new router and right out of the box, I used the cable included. router would not work. I tried a different one and sure enough, it worked after that. Have to be careful of some in box cables.  >:(

Cat5e a good class of cable, just how well the cables are made is the question.
I buy my cables from places like monoprice.com (http://monoprice.com) and deepsurplus.com (http://deepsurplus.com). Good stuff man.
Title: Re: DHCP does not allocate IP address
Post by: fgl30 on December 10, 2011, 12:09:57 PM
I don't know if this is the same problem, but with me, here's the deal:

I have some devices like Boxee Box and my cell phone (wireless connections) that doesn't connect again with router once I had disconnected them... like this: I turn on the Boxee Box and get wireless connection with router... if I turn off Boxee Box and try to reconnect with router, no success... I need to power cicle the router to get connection again... static IP doesn't solve the problem, nor even DHCP reservation....

Is this the same problem?

Sorry my terrible english... regards
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on December 10, 2011, 01:13:37 PM
What Hardware version is your router? Look at sticker under router.
What Firmware version is currently loaded? Found on routers web page under status.

What ISP Service do you have? Cable or DSL?
What ISP Modem do you have? Stand Alone or built in router?
What ISP Modem make and model do you have?
If this modem has a built in router, it's best to bridge the modem. Having 2 routers on the same line can cause connection problems.

Some things to try:
Ensure DNS IP addresses are being filled in under Setup/Internet/Manual? You can find these under Status/Device Info/Wan section.
Turn off ALL QoS (DIR only) GameFuel (DGL only and if ON.) options. Advanced/QoS or Gamefuel.
Turn off Advanced DNS Services if you have this option under Setup/Internet/Manual.
Turn on DNS Relay under Setup/Networking.
Setup DHCP reserved IP addresses for all devices on the router. Setup/Networking
Ensure devices are set to auto obtain an IP address.
Set Firewall settings to Endpoint Independent for TCP and UDP.

What wireless modes are you using?
Try single mode G or N or mixed G and N?
What security mode are you using? Preferred security is WPA-Personal. WPA2/Auto TPIK and AES.
What wireless devices do you have connected?
Any cordless house phones?
Any other WiFi routers in the area? Use InSSIDer (http://www.metageek.net/) to find out.
Turn off Short GI and Extra Wireless Protection if you have it. Under Advanced/Advanced Wireless

I don't know if this is the same problem, but with me, here's the deal:

I have some devices like Boxee Box and my cell phone (wireless connections) that doesn't connect again with router once I had disconnected them... like this: I turn on the Boxee Box and get wireless connection with router... if I turn off Boxee Box and try to reconnect with router, no success... I need to power cicle the router to get connection again... static IP doesn't solve the problem, nor even DHCP reservation....

Is this the same problem?

Sorry my terrible english... regards
Title: Re: DHCP does not allocate IP address
Post by: mmak on December 12, 2011, 11:32:58 AM
Finally the network is back to boring. Nothing to do but use it.

I removed the external access point and using now the WiFi of the router. The problem disappeared.
I have no explanation to it but the boxes did not get along together.

Thank you guys for the help and the moral support.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on December 12, 2011, 11:49:01 AM
What did you do exactly?
Title: Re: DHCP does not allocate IP address
Post by: mmak on December 13, 2011, 11:11:08 AM
I had an external (to the router) WiFi access point while the WiFi on the router was disabled.
I removed the external WiFi and enabled the router's one.

Apparently it solved the problem.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on December 13, 2011, 01:47:29 PM
Enjoy.
Title: Re: DHCP does not allocate IP address
Post by: vfxraven19 on March 26, 2012, 05:45:41 PM
I think I am having the same issue. I have a Trendnet TEW-637AP wireless access point attached. The thing is, I have had this attached to my previous router (Linksys E1000 w/ DDWRT), and haven't experiencing problems. Reason why I kept the Trendnet AP attached was for legacy devices that don't support WPA2.

I would have the same issues... DHCP would failing assigning IP addresses, Wireless devices would refuse to connect, and my only choice was to reboot or power cycle the router.

I have removed the Trendnet device from the network, and will see if it works w/o a reboot or not.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on March 26, 2012, 07:30:48 PM
Setup DHCP reserved IP addresses for all devices ON the router. Setup/Networking
Ensure devices are set to auto obtain an IP address.
Title: Re: DHCP does not allocate IP address
Post by: vfxraven19 on March 27, 2012, 09:39:05 PM
Ok, the TRENDnet TEW-637AP has been OFF the network and off for a day, I thought things were going well until my PS Vita failed to obtain a DHCP address from the DIR-685. Removing the wifi connection setting and inserting the info again in the PSP did not fix it, still fails. I am testing my Nintendo 3DS, and it isn't getting an IP address either, failing out on the connection test.

Tech support I suggested factory reset, I will have to do that tomorrow as I cannot lose doing work at the moment. I'd hate to dump this router for something else, as this served me well when I first got it. Now, it's DHCP/connection issues is just plain unacceptable. :\
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on March 28, 2012, 07:09:10 AM
Save your router configuration to file before doing a factory reset.
After the reset, make sure ALL devices are OFF accept one wired connected PC.
Go in and reserve the wired PC first. Configure wireless settings for single mode G or mixed G and N.
Then turn on one of the wireless devices. Reserve it. Then turn on the next device and reserve it.
Do this until all devices are reserved in the DHCP Reservation list.

Finish configuring the router as you need then do another save of the configuration to file.
Title: Re: DHCP does not allocate IP address
Post by: vfxraven19 on March 28, 2012, 01:50:18 PM
Save your router configuration to file before doing a factory reset.
After the reset, make sure ALL devices are OFF accept one wired connected PC.
Go in and reserve the wired PC first. Configure wireless settings for single mode G or mixed G and N.
Then turn on one of the wireless devices. Reserve it. Then turn on the next device and reserve it.
Do this until all devices are reserved in the DHCP Reservation list.

Finish configuring the router as you need then do another save of the configuration to file.


Ok, done and done. I'll see if this helps...
Title: Re: DHCP does not allocate IP address
Post by: vfxraven19 on March 28, 2012, 09:33:23 PM
Update, didn't help. Still get DHCP failures.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on March 29, 2012, 06:56:01 AM
What happens if you turn off the wireless radio and just test with wired devices? Try testing with out the 685 wireless radio being on and connect the external AP. Any issues seen here?

Any cordless house phones?
Any other WiFi routers in the area? Use InSSIDer (http://www.metageek.net/) to find out.
Title: Re: DHCP does not allocate IP address
Post by: vfxraven19 on March 29, 2012, 10:35:22 PM
What happens if you turn off the wireless radio and just test with wired devices? Try testing with out the 685 wireless radio being on and connect the external AP. Any issues seen here?

Any cordless house phones?
Any other WiFi routers in the area? Use InSSIDer (http://www.metageek.net/) to find out.

I turned off the Wifi radio, just wired + the TRENDnet TEW-637AP (as external AP)... DHCP will still fail. THere's a cordless phone, but I removed that, and still have issues. No other routers in the vicinity.

I am at a loss with this now. I replaced it with a different router. :\
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on March 30, 2012, 06:45:39 AM
I might try to reload firmware and see using the FW update sticky process.
I would swap out cables too, try new CAT5e.
Give a DIR-825 a try too. Keep us posted.
Title: Re: DHCP does not allocate IP address
Post by: vfxraven19 on April 02, 2012, 10:39:55 AM
I might try to reload firmware and see using the FW update sticky process.
I would swap out cables too, try new CAT5e.
Give a DIR-825 a try too. Keep us posted.

I did try a reflash using the guide mentioned, but it was still failing. :( it's  shame this isn't working like it did a few weeks ago. I bought this because of the built-in NAS feature.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on April 02, 2012, 10:43:20 AM
Hmm...only other thing I can think of is to update your NIC drivers and swap cables out to be sure. This happens on everything you try to connect?

I might all up DLink and ask for an RMA man. They might be able to fix it.

Keep us posted.
Title: Re: DHCP does not allocate IP address
Post by: vfxraven19 on April 03, 2012, 10:07:20 AM
Hmm...only other thing I can think of is to update your NIC drivers and swap cables out to be sure. This happens on everything you try to connect?

I might all up DLink and ask for an RMA man. They might be able to fix it.

Keep us posted.

I've done the cable swap and driver updates too, still no dice. :( The router reboot used to be every few weeks, now to every day and finally got worse to every few hours just to get wireless and wired clients to connect and get a DHCP reservation or any address. Very abnormal behavior for a router, and for DHCP to just outright refuse to assign addresses, even reserved ones.

I will have to call them up, I think my router might be beyond the warranty period though U.U
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on April 03, 2012, 10:15:56 AM
Call and ask about it. Might be worth a try. Let us know how it goes.
Title: Re: DHCP does not allocate IP address
Post by: ph0enix on August 14, 2012, 04:27:19 PM
I think that D-Link should sort out the DHCP drop out issue, it seems to be a bug within the firmware followed by other router devices firmware updates, as I've been trying to find a solution for this for ages, which revert to me having static assign the I.P on the devices than oppose to use the DHCP server. The reason I believe it's the firmware, is because my friend has the same issue as me on a DIR-615, I even feel bad for recommending them... The DHCP will stop assigning I.P devices after a certain threshold (1-2 days), an hard shut down makes it working again. But I can see in the forum I'm not alone, I tried all possibility and methods that are available. I'm currently a network adminstrator using an Draytek router for our network and I just cannot figure out this D-Link bug

Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on August 14, 2012, 05:13:30 PM
http://forums.dlink.com/index.php?topic=45780.0 (http://forums.dlink.com/index.php?topic=45780.0) User failed to post in correct forum and give model number information.  ::)
Title: Re: DHCP does not allocate IP address
Post by: ph0enix on August 15, 2012, 01:25:42 AM
My friend D-Link-815 isn't EOL, I just stating there is a bug that has follow on through-out D-Link products with this "DHCP Issue". I cannot recommend D-Link router to anyone, though I should be posting this in the 815 section but giving you the heads up for your in-house developers.
Title: Re: DHCP does not allocate IP address
Post by: FurryNutz on August 15, 2012, 07:39:28 AM
My friend, if you had given a bit more information regarding model number and posting in the correct forum, maybe this could be helped more and we could give more feedback and suggestions. We don't know for sure if the 815 has this issue or if what you seem to be talking about is being caused by something else. Most problems we see are external or user configuration problems. DLink routers work very well when properly connected and set up. There only seems to be a few that have problems and most of them are resolved by users here in the forums, and again, once we have all the details and if posters can give correct information in the first place, this helps us give better feedback and suggestions and we usually get everyone going and up and running. If your really concerned about a supposed issue with the 815, why not contact DLink directly and speck to someone about it.

Your recommendations can only be taken with a grain of salt as most are unfounded in cases like this. You and a few others seem to be the only experiencing this supposed issue. Others are not.

Good luck.