PDA

View Full Version : DHCP Server help



Razza
23rd July 2007, 09:54 PM
Im running my DHCP server on FC5 which works fine, but clients seem to be ignoring any boot (TFTP) options. Have I missed something really obvious? My trunkated dhcp.conf is as follows -

ddns-update-style none;
allow booting;
allow bootp;
subnet 192.168.10.0 netmask 255.255.255.0 {
option routers 192.168.10.1;
option subnet-mask 255.255.255.0;
option domain-name "xyz.net";
option domain-name-servers 192.168.10.1;
option nis-domain "xyz.net";
range dynamic-bootp 192.168.10.151 192.168.10.220;
default-lease-time 86000;
max-lease-time 86400;
# MVP
host MVP {
next-server 192.168.10.163;
filename "dongle.bin.mvpmc-0.3.3";
option domain-name-servers 192.168.10.1;
hardware ethernet 00:0d:fe:23:7c:de;
fixed-address 192.168.10.202;
}
}
/var/log/messages shows it's allocating the IP correctly -

Jul 23 21:11:24 FSvr dhcpd: DHCPOFFER on 192.168.10.202 to 00:0d:fe:23:7c:de via eth0
Jul 23 21:11:24 FSvr dhcpd: Dynamic and static leases present for 192.168.10.202.
Jul 23 21:11:24 FSvr dhcpd: Remove host declaration MVP or remove 192.168.10.202
Jul 23 21:11:24 FSvr dhcpd: from the dynamic address pool for 192.168.10/24
Jul 23 21:11:24 FSvr dhcpd: DHCPREQUEST for 192.168.10.202 (192.168.10.140) from 00:0d:fe:23:7c:de via eth0
Jul 23 21:11:24 FSvr dhcpd: DHCPACK on 192.168.10.202 to 00:0d:fe:23:7c:de via eth0

Razza
24th July 2007, 03:19 PM
I have just tried this on a Fedora 7 virtual machine (using the same dhcpd.conf file as above) and it doesn't work either. I have tried to build a dhcpd.conf from scratch using webmin and that fails to start?

Any thoughts or can someone post a known good dhcpd.conf config ?