Subject: Re: pxeboot problems
To: None <port-i386@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: port-i386
Date: 12/19/2005 22:38:11
On Mon, Dec 19, 2005 at 10:26:11PM +0000, David Laight wrote:
> I've just tried to boot a system using pxeboot - without success.
> This all worked last time I did it, and I don't believe I've changed
> any of the dhcp, tftp configuration or the pxeboot binary.
> 
> The only obvious difference is that the server is now running 3.99.14
> 
> All goes swimmingly until I get:
> 
> > boot netbsd.install
> PXE BIOS Version 2.1
> Using PCI device at bus 0 device 6 function 0
> Ethernet address 00:00:24:c1:35:94
> net_open: client addr: 192.168.0.24
> net_open: subnet mask: 255.255.0.0
> net_open: net gateway: 192.168.1.1
> net_open: server addr: 0.0.0.0
                         ^^^^^^^

.. and this is the clue. It seems that new dhcpd ignores the last sentence
in dhcpd.conf(5):

       The next-server statement

         next-server server-name;

         The  next-server statement is used to specify the host address of the
         server from which the initial boot file (specified  in  the  filename
         statement)  is  to  be  loaded.    Server-name should be a numeric IP
         address or a domain name.   If no next-server parameter applies to  a
         given client, the DHCP server's IP address is used.


So next-server seems no longer to be optional :-/

Cheers,

Patrick