HOSTNAME = IP with PXE boot?

Jeroen Akershoek jeroena at sara.nl
Wed Oct 13 18:05:04 CEST 2004


Hello,

I'm trying to set up a PXE boot with FAI 2.6.3 and DHCPD 3.0.1, but am unsuccesful so far
It seems to 'forget' the HOSTNAME variable and replace it with the IP address
(variables.log shows HOSTNAME=x.x.15.140)

I've tried without the "IPAPPEND 1", replacing it with ip=255.255.255.255:autoconf (or :dhcp)
but that doesn't work either. I'm getting:

Oct 13 11:37:00 boo dhcpd: DHCPREQUEST for 255.255.255.255 (166.0.0.0) from 00:0e:0c:63:3e:e3 via 145.100.15.129: ignored (not authoritative).

The 166.0.0.0 varies, I've also had 62.0.0.0. Both make no sense to me at all.


This setup USED to work, with older dhcp (2.x) and FAI, but due to forced upgrades somewhere else we had to switch to this newer setup.
Also, booting with a CD-rom works fine, so it's somewhere in the PXE configuration. Question is: what? The documentation couldn't shed any light on this, I hope one of you can.

pxelinux.cfg/default:
---------------------
default fai-install

label fai-install
kernel installkernel
append auto rw root=/dev/nfs nfsroot=/raid/fai/nfsroot nfsaddrs=kernel FAI_ACTION=install FAI_FLAGS=verbose,createvt,sshd
IPAPPEND 1


dhcpd.conf
----------
allow booting;
allow bootp;
authorative;

option dhcp-max-message-size 2048;
use-host-decl-names on;
#always-reply-rfc1048 on;
filename "pxelinux.0";

option root-path "/raid/fai/nfsroot";
option domain-name "sara.nl";
option domain-name-servers 145.100.5.30, 145.100.5.47;

subnet 145.100.15.128 netmask 255.255.255.192 {
  option broadcast-address 145.100.15.191;
  option routers 145.100.15.129;
  ..
  ..
  group {
    host disp01 {
      hardware ethernet 00:0e:0c:63:3e:e3;
      fixed-address vctemp;
    }
  }
}

Kind regards,
  Jeroen

-- 
Jeroen Akershoek - "The guy that keeps the servers running"
SARA Computing and Network Services
tel: +31 20 5923000     fax:   +31 20 6683167

There are actually certain circumstances under which this software
doesn't misperform
        -- Jorrit Adriaanse



More information about the linux-fai mailing list