Hello,
I setup a DHCP client/server configuration between 2 RedHat 9 boxes.
My dhcpd.conf file :
ddns-update-style none;
one-lease-per-client TRUE;
subnet 172.16.0.0 netmask 255.255.0.0 {
server-name "myhost";
option domain-name "mydomain.de";
option routers 172.16.16.139;
option ntp-servers 172.16.16.139;
}
host dhcp-client {
hardware ethernet 00:30:05:42:B1:B2;
fixed-address 172.16.135.31;
option host-name "dhcp-client";
}
and my dhclient-eth0.conf file :
request subnet-mask, host-name, domain-name, routers, ntp-servers;
After rebooting the DHCP client box, the server-name entry in the
dhclient-eth0.leases file is
server-name "";
Why is this empty ? What do I do wrong ? I also tried providing the
FQDN as server-name in dhcpd.conf but it didn't help. The server-name
is sent, however, as revealed by ethereal.
Thanks in advance for any help.
Dirk
|