[CentOS] CENTOS DHCP Server and windows computer/host name ISSUE

Steve Thompson smt at vgersoft.com
Tue Aug 24 21:25:35 UTC 2010


On Tue, 24 Aug 2010, Phil Savoie wrote:

> I use mac address reservations in the /etc/dhcpd.conf file, like so:
>
> host linsrv {
>         hardware ethernet 00:50:fc:57:5c:db;
>         option host-name "linsrv";
>         fixed-address 192.168.100.254;
> }

The way that I always do it is:

host foobar {
 	hardware ethernet xx:xx:xx:xx:xx:xx;
 	fixed-address hostname.domain.org;
}

and rely on the DNS to supply the fixed IP address. This works for Linux, 
Windows XP, Vista and 7, and OS X.

Steve



More information about the CentOS mailing list