 jimjoh
join:2004-04-20 Norfolk, NE
1 edit | [Info] DGL-4300 Static DHCP IP bug and workaround
In the DGL-4300 (firmware 1.3) static dhcp reservations only work if the IP address you use for the reservation is within your "DHCP IP Address Range". For example, using the default range of 100 to 199 means that your static IP reservations must in the same 100 to 199 range.
The DGL-4300 will let you create a static DHCP reservation outside of this range and everything will look ok on the router. However the client will never use the static IP. Instead it appears that the 4300 simply ignores your reservation and gives you an IP from the dhcp pool.
My ingenious workaround it to only create reservations for IP addresses within the dhcp IP range. This works ok for me every time.
I've tried to report this to D-Link as a bug, but doubt they'll listen to just little old me. Maybe if others reports this too there's a chance they'll fix it? |
|
  Basher13
join:2004-05-02 Beverly Hills, CA
| No sh*t sherlock!
Dynamic DHCP means the DGL-4300 handed out an IP to a client computer.
Static DHCP, means your computer must ask for an IP every single time, as other computers do, but ...it's unaware it will always receive the same one (static, in other words) due to the identification of the host name, and MAC address of a given computer with a specific DHCP lease.
Since Dynamic DHCP from the DGL-4300 would have never handed out anything lower than .100 or higher than .200, it is balderdash to suggest it's a bug for the router to do, what's it's supposed to do, and not what you think it should be doing. |
|
  Talon88 The One
join:2003-08-13 Toronto
·Bell Sympatico
2 edits | reply to jimjoh :::
Not a bug. Since Static DHCP is still a DHCP. It just base on the MAC Address of the asking computer to see if it's on the router's S-DHCP list, If Match, router will give out the same LAN IP to that computer.
So, the Static DHCP IPs should be within the DHCP Pool....!
:::
-- [=Talon88=] »DI-624 Firmware update w/ Crash Recovery Step by S -- »[Info] Some Clue about DI-624 Reboot |
|
  funchords Hello Premium,MVM join:2001-03-11 Washington, DC
·Verizon Online DSL
·Skype
| said by Talon88 :Not a bug. Since Static DHCP is still a DHCP. It just base on the MAC Address of the asking computer to see if it's on the router's S-DHCP list, If Match, router will give out the same LAN IP to that computer. So, the Static DHCP IPs should be within the DHCP Pool....! Hmmmmmmmmmmmmmmmmmmmmmmm.
The DI-624, 524, 614+, 604, and all of their cousins behave the same as the DGL-4300 in this respect. I have the DI-624.
The problem is that the UI accepts Static IP assignments outside the DHCP server's range. This is inconsistent with the fact that the UI prevents bogus addresses or ports in the firewall settings.
It is confusing. -- Robb Topolski http://www.funchords.com/ Hillsboro, Oregon USA |
|
 jimjoh
join:2004-04-20 Norfolk, NE
1 edit | reply to jimjoh Re: [Info] DGL-4300 Static DHCP IP bug and workaro
Real DHCP servers (like ISCs DHCP) support static DHCP reservations outside of the dynamic IP range. I also have a DI-624 that allows this. Its a rev C3, fw 2.50. Funchords, have you actually tried this on DI-624? Im surprised that itd work for me, but not for you.
You can intelligently argue whether the capability to set up a dhcp reservation for an address outside of the dhcp range is a bug or merely a missing feature. However the fact that the 4300 allows you to set up a reservation for an IP outside of the range, but then doesnt allow it to work is definitely a bug. If theyre not going to allow you to use a non-range IP then the 4300s UI shouldn't allow you to enter an IP address thats not in the range. It's elementary, my dear Basher13. There is a bug here, even though we may disagree where, exactly, its located.
The fix to the UI to disallow this should be trivial. However, the fix to allow the 4300 to let you create reservations for non-range IPs should also be easy to implement. Since this is also one of the more expensive home routers I dont think its too much to ask to have D-Link enable this functionality. |
|
  funchords Hello Premium,MVM join:2001-03-11 Washington, DC
·Verizon Online DSL
·Skype
| said by jimjoh :Real DHCP servers (like ISCs DHCP) support static DHCP reservations outside of the dynamic IP range. I also have a DI-624 that allows this. Its a rev C3, fw 2.50. Funchords, have you actually tried this on DI-624? Im surprised that itd work for me, but not for you. Really? I'm back down on 2.42 right now. It accepts the out-of-range assignment and then won't serve it up.
My DHCP range is x.x.x.90-x.x.x.109 and the machine I'm on is x.x.x.108.
If I set it to x.x.x.208, then do IPCONFIG /RELEASE and IPCONFIG /RENEW, I get x.x.x.108 again.
If I set it to x.x.x.98 then do IPCONFIG /RELEASE and IPCONFIG /RENEW, I get x.x.x.98.
And then back, I set it to x.x.x.108 then do IPCONFIG /RELEASE and IPCONFIG /RENEW, I get x.x.x.108.
So at least on this firmware, it behaves like the DGL-4300 in this respect. -- Robb Topolski http://www.funchords.com/ Hillsboro, Oregon USA |
|
 jimjoh
join:2004-04-20 Norfolk, NE
| said by funchords :Really? I'm back down on 2.42 right now. It accepts the out-of-range assignment and then won't serve it up. I just confirmed that a friend's di624 rev C3 fw 2.50 behaves the same as mine. He assigns all his static DHCP boxes non-range IPs. |
|
  funchords Hello Premium,MVM join:2001-03-11 Washington, DC | Gotta love this company.  :( |
|
 tc17
join:2003-08-14
1 edit | reply to jimjoh I don't consider this a bug at all. The way Dlink is doing it makes total sense. I don't see why it matters, and would bet every brand does the same thing (well actually there are many brands that don't even let you assign a static IP at all, such as the popular WRT54G with stock firmware).
I would call this more of a feature you want added. But its definitely not a bug. |
|
  funchords Hello Premium,MVM join:2001-03-11 Washington, DC
·Verizon Online DSL
·Skype
| said by tc17 :I don't consider this a bug at all. The way Dlink is doing it makes total sense. Ummm, both ways?
Accepting the input and then doing nothing with it?
Perhaps you misread or read through it too fast. But, with respect, it does not make sense. As far as bugs go, though, this is not the one I'd spend my last dollar on fixing. -- Robb Topolski http://www.funchords.com/ Hillsboro, Oregon USA Kindness is treating someone better than they deserve. |
|
  thargnar
@mn.cha
| reply to jimjoh Re: [Info] DGL-4300 Static DHCP IP bug and workaround
Uber, you just answered my question. Was having this problem and I breifly thought about that, and immediately discarded it thinking, why in the hell would I need to change my dynamic scope to include static entries? I knew the old dlink I replaced didn't operate that way so hadn't tried it. There was another user I see posted he was having the same problem, so hopefully he and others see this post, very useful. Hopefully Dlink fixes this as well, I like to keep my dynamic addresses and statics far apart, I'm just anal that way I guess. |
|
 jimjoh
join:2004-04-20 Norfolk, NE
| said by thargnar:
Hopefully Dlink fixes this as well, I like to keep my dynamic addresses and statics far apart, I'm just anal that way I guess. Glad to hear I'm not the only anal Dlink user! I reported it to their tech support. After much begging my tech finally said he'd pass it on up as a feature request, but I have my doubts that they'll actually do anything about it. Is calling tech support the only way to report bugs and submit feature requests? I don't suppose anyone has an email address for the Dlink developers they'd like to share? |
|