BOOTP/DHCP support

Thomas Lange lange at informatik.Uni-Koeln.DE
Thu Jun 29 16:27:21 CEST 2000


Hi folks, 

I tested DHCP a little bit for fai. Here are my comments.

1. fai can use bootpc to get the information from a DHCP daemon.
2. If to much data is defined in dhcpd.conf, mostly the extra
   options (option-17*) are lost.
3. If I define less data for my subnet, also the extra option are
   passed to bootpc.

Now, which program causes the error ? bootpc has to problems getting more
data from a BOOTP daemon. In /etc/bootptab you can increase the size
using tag ms for larger data files. This is an option for the BOOTP
server. DHCP also has an something similar

send dhcp-max-message-size 2048;

but it must be defined for the client. So, next thing is, I will look
if dhclient works with both bootp and dhcp server. Or has anyone a
trick to let bootpc and dhcpd talk to eachother correctly ?


My config file is:

# dhcpd.conf
#

option option-170 "kueppers:/usr/local/share/fai";
option option-171 "sysinfo";
option option-172 "verbose";

subnet 134.95.9.0 netmask 255.255.255.0 {
   option routers 134.95.9.254;
   option domain-name "informatik.uni-koeln.de";
   option domain-name-servers 134.95.9.136, 134.95.100.209, 134.95.100.208;
   option time-servers rubens;
   option ntp-servers time.rrz.uni-koeln.de,time2.rrz.uni-koeln.de;
   option nis-domain "informatik4711.YP";
   option nis-servers rubens; 
   option subnet-mask 255.255.255.0;
}

host faiserver {
  hardware ethernet 00:10:5a:24:67:23;
  filename "/boot/fai/faiserver";
  server-name "rubens";
  fixed-address faiserver;
}


P.S: The public cvs repository is nearly ready for use.

-- 
Gruss Thomas
----------------------------------------------------------------------
            Thomas Lange
Institut fuer Informatik        mailto:lange at informatik.Uni-Koeln.DE
   Universitaet zu Koeln
            Pohligstr. 1        Telefon: +49 221 470 5303
             50969 Koeln        Fax    : +49 221 470 5317
----------------------------------------------------------------------



More information about the linux-fai mailing list