Set hostname via DHCP ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi.

I just setup one of my machines as a DHCP server. I'd like it to handle 
the hostnames of clients. Don't know if this is an orthodox thing to do 
(feel free to add your comments :oD). Here's the server's relevant lines 
of dhcpd.conf:

--8<-------
...
# Envoyer les noms d'hôtes aux clients
use-host-decl-names on;

# Adresses statiques
host babasse {
   hardware ethernet 00:0d:61:ae:6b:8f;
   fixed-address 192.168.1.249;
}
--8<-------

Now the question is: how should the configuration look like on the 
client side, so the hostname gets effetively fetched from the DHCP 
server? During the initial install, I assigned hostnames manually to 
every machine.

Cheers,

Niki Kovacs
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux