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

Mikkel L. Ellertson mikkel at infinity-ltd.com
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,10.0.1.212,MIKE.auburn.com,00115B66F371,
> 11,06/29/07,07:46:01,Renew,10.0.1.210,FRED.auburn.com,0015F2B0AB10,
> 11,06/29/07,07:46:03,Renew,10.0.1.210,FRED.auburn.com,0015F2B0AB10,
> 11,06/29/07,08:14:21,Renew,10.0.1.213,KIM.auburn.com,000BDBBB93D3,
> 10,06/29/07,10:49:09,Assign,10.0.1.200,,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.

Mikkel
-- 

  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: <http://listman.redhat.com/archives/fedora-list/attachments/20070629/35b031cc/attachment-0001.sig>


More information about the fedora-list mailing list