filename="yaboot" not used

Simon Hobson dhcp1 at thehobsons.co.uk
Mon Jan 1 08:57:23 UTC 2007


Carl Karsten wrote:

># /etc/dhcp3/dhcpd.conf
>
>authoritative;
>
># Before the server assigns an IP, ping it to make sure nothing is using it.
>ping-check = 1;
>
># log using syslogd
>log-facility local7;
>
># the Range of IP's to assign to clients.
>subnet 192.168.1.0  netmask 255.255.255.0 {
>	range 192.168.1.10 192.168.1.254 ;
>}
>
>########################################################################
># config settings to send clients
>
>option domain-name "personnelware.com";
>option time-servers  192.168.1.1;
>option ntp-servers 192.168.1.1;
>option time-offset 6;
>option broadcast-address 192.168.1.255;
>option domain-name-servers 192.168.1.7;
># option domain-name-servers 192.168.1.7, 68.87.66.196, 68.87.64.196,
>63.240.76.4, 204.127.198.4;
>
># the IP of the gatway from the LAN to the Internet
>option routers  192.168.1.1 ;
>
># construct a hostname out of the IP being assigned.
># given that all IP's will begin with 192.168.1,
># only use the last byte - makes a shorter so easier to type the host name.
># On Ubuntu installs, the installer will use this as the permanate hostname
># so all boxes don't end up named localhost.  (that's a good thing)
>
># Option 12: Host Name = "dhcp254"
>option host-name=concat("dhcp", binary-to-ascii(10, 8, "-",
>suffix(leased-address,1) ) ) ;
>
>########################################################################
># Dynamic DNS - update the server
>
>ddns-updates on;
>ddns-update-style interim;
>do-forward-updates on;
>ddns-domainname "personnelware.com";
>ddns-rev-domainname "in-addr.arpa.";
>update-static-leases on;
># ddns-ttl 7200;
>
>key DHCP_UPDATER {
>	algorithm HMAC-MD5.SIG-ALG.REG.INT;
>	secret ZiO1XpvhIDVLRsvnBk9+Qw==;
>         };
>
>zone personnelware.com. {
>	primary localhost;
>	key DHCP_UPDATER;
>         }
>
>zone 1.168.192.in-addr.arpa. {
>	primary localhost;
>           key DHCP_UPDATER;
>         }
>
>########################################################################
># PXE boot parameters
>
># the Filename (not the file itself) that the client should dl from the
># TFTP server.  (TFTP server not specified, so the default is the 
>same IP as the
>DHCP server)
># nextserver="e18";
>nextserver=192.168.1.36 ;
>
>filename="pxelinux.0" ;
># filename="yaboot" ;
># filename="ubuntu/edgy/alternate/install/netboot/pxelinux.0" ;
>
>########################################################################
>
>host adocentyn{
>          hardware ethernet 00:03:93:66:D6:6A ;
>          option host-name "adocentyn" ;
>          fixed-address 192.168.1.3 ;
>          filename="yaboot" ;
>          nextserver=192.168.1.36 ;
>          # nextserver="e18" ;
>}
>
># include "/etc/dhcp3/dhcpd.conf.macs";
>
>########################################################################
># eof: /etc/dhcp3/dhcpd.conf

I can't see anything obviously wrong there.

A minor point - you have some subnet specific options (routers, 
broadcast address) that would normally be put in the subnet 
declaration. It won't make any difference here, but it's a source of 
possible future confusion.


Can you try a couple of modifications ? To be honest I don't actually 
expect it to fix your problem but we'll see anyway. The host defined 
value should override the global value but obviously for some reason 
it isn't.


First, try putting the filename="pxelinux.0" ; statement inside the 
subnet declaration, as in :

subnet 192.168.1.0  netmask 255.255.255.0 {
	range 192.168.1.10 192.168.1.254 ;
	filename="pxelinux.0" ;
}


Second, try moving it to a group statement surrounding your other 
host declarations, as in :

group {
	filename="pxelinux.0" ;
	host { ... }
	host { ... }
}


Lastly, you are restarting dhcpd whenever you change the config file 
aren't you ?


More information about the dhcp-users mailing list