Problem with /etc/hostname and /etc/hosts

Micha Beyer Meinerseins at worldonline.de
Fri Aug 24 11:18:42 CEST 2007


Farid Behnia wrote:

[...]

> How am I supposed to feed the clients with the correct hostname and
> hosts?

The correct hostname for the client is coming from the entry in the file 
dhcpd.conf.

My example for the host "testclient":

host testclient {
    hardware ethernet 00:11:2F:92:ED:B0;
    fixed-address 192.168.1.40;
    }

And last but not line you need the line in dhcpd.conf:

use-host-decl-names on;

> Any help from you gurus would be appreciated!

I'm not a guru, only a user. ;-)

HTH
-- 
regards,
 Michael


More information about the linux-fai mailing list