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)?
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...
Size: 189 bytes
Desc: OpenPGP digital signature
More information about the fedora-list