DHCP Server - Some Hosts do not provide hostname

Hello.

Mikrotik is my dhcp server and some hosts especially Linux VM’s do not provide a hostname when picking up an IP lease.

(My lease time is 10 mins) as I want to be able to arp via my dhcp2dns script this is a problem. why does mikrotik sometimes get hostname and sometimes not?

its really weird. I have noticed on Linux/debian VM’s that the hostname is not put into dhcp leases.

MikroTik reads hostname (client option 12 ) from DHCP DISCOVER, some client devices provide host name in DHCP REQUEST.

hiya, thanks for the explanation. is there a guide somewhere so I can make my Linux VM do dhcp discover?

Try send host-name “hostname” in dhclient.conf.