• April 26, 2024, 04:51:14 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DHCP reservation needs a correct hostname to work.  (Read 6661 times)

pyng

  • Level 1 Member
  • *
  • Posts: 4
DHCP reservation needs a correct hostname to work.
« 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.
Logged

pyng

  • Level 1 Member
  • *
  • Posts: 4
Re: DHCP reservation needs a correct hostname to work.
« Reply #1 on: December 24, 2013, 09:41:46 AM »

and fyi dhcp reservation works for other devices that give out correct hostnames.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DHCP reservation needs a correct hostname to work.
« Reply #2 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.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

ganesh.sundars

  • Level 1 Member
  • *
  • Posts: 1
Re: DHCP reservation needs a correct hostname to work.
« Reply #3 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 :)
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DHCP reservation needs a correct hostname to work.
« Reply #4 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 :)
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.