D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => DIR-605L => Topic started by: pyng on December 24, 2013, 09:39:28 AM

Title: DHCP reservation needs a correct hostname to work.
Post by: pyng on December 24, 2013, 09:39:28 AM
I have a few devices that dont give out host names. I assumed that dhcp reservation works based on mac address only, but apparently it needs the correct host name as well.

hardware version: b1
Firmware version: 2.02

example
DHCP Client List
--   192.168.0.4    1c:5a:3e:fb:8a:e76   23 Hours 12 Minutes

dhcp reservation
tv1  192.168.0.120 1c:5a:3e:fb:8a:e7

-- seems to be generic for "I don't know what the hostname is"
The mac address belongs to a smart tv.
Intended behavior? Or can I hope for a fix.
Title: Re: DHCP reservation needs a correct hostname to work.
Post by: pyng on December 24, 2013, 09:41:46 AM
and fyi dhcp reservation works for other devices that give out correct hostnames.
Title: Re: DHCP reservation needs a correct hostname to work.
Post by: FurryNutz on December 24, 2013, 10:52:25 AM
You can manually change or you should be able to manually change the unknown host name to something intuitive. This does happen on D-Link routers. I just change the name to something I can identify the device with.
Title: Re: DHCP reservation needs a correct hostname to work.
Post by: ganesh.sundars on February 06, 2014, 03:46:08 AM
Here's a work around that hope helps you as it did me. Here's what I was trying to do. I wanted to reserve a static ip for my HikVision Network DVR and it seemed always return the host name as -- . My older DLinks would happily map a set IP with the devices MAC but this model seems to additionally expect a valid hostname.

Instead of reserving an IP from the DLink Router configuration, I set my DVR to use a static IP which was outside the router's DHCP range. I set mine to 192.168.0.250 and my router's DHCP range was 2~199. (Apparently you shouldn't set something within your DHCP range to avoid conflicts) And that's it !

Now, after every reboot, the same IP is assigned to my DVR and my port forwards work nicely too :)
Title: Re: DHCP reservation needs a correct hostname to work.
Post by: FurryNutz on February 06, 2014, 07:01:05 AM
You can also reserve an IP address on the router as well for devices, which is preferred. Also you can give a host name as well for ease of identification of the device. Some devices have hostname input values as well.

Here's a work around that hope helps you as it did me. Here's what I was trying to do. I wanted to reserve a static ip for my HikVision Network DVR and it seemed always return the host name as -- . My older DLinks would happily map a set IP with the devices MAC but this model seems to additionally expect a valid hostname.

Instead of reserving an IP from the DLink Router configuration, I set my DVR to use a static IP which was outside the router's DHCP range. I set mine to 192.168.0.250 and my router's DHCP range was 2~199. (Apparently you shouldn't set something within your DHCP range to avoid conflicts) And that's it !

Now, after every reboot, the same IP is assigned to my DVR and my port forwards work nicely too :)