How to get Linux host name written in Windows DHCP and DNS?

Mikkel L. Ellertson mikkel at
Fri Jun 29 16:42:29 UTC 2007

Arch Willingham wrote:
> Our local network is mostly Windows machines with more and more Linux machines (FC7). The DHCP server is a Windows 2003 server. The Linux machines get an IP address just fine and they get on the network without any problems. The only problem is that they don't write any type of name in DHCP or DNS. 
> The DHCP log of the server is shown below. You can see where the Windows clients write their info (first four lines) and the fifth line is where a Linux clients gets its IP address but it has no name. How do I get the Linux client to assign send its host name to DHCP (also, what's the best place to set the host name...there seem to be a ton of places to do so)?
> 10,06/27/07,10:54:00,Assign,,,00115B66F371,
> 11,06/29/07,07:46:01,Renew,,,0015F2B0AB10,
> 11,06/29/07,07:46:03,Renew,,,0015F2B0AB10,
> 11,06/29/07,08:14:21,Renew,,,000BDBBB93D3,
> 10,06/29/07,10:49:09,Assign,,,000874B9035A,
> Thanks!
> Arch
I usually use the "DHCP_HOSTNAME=<hostname>" option in
/etc/sysconfig/network-scripts/ifcfg-eth0. You can set it in the
Hostname setting in the DHCP settings or edit the file directly.


  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the fedora-list mailing list