[ipxe-devel] Infinite dhcp request

Martin Habets mhabets at solarflare.com
Fri Apr 21 12:58:56 UTC 2017


On 21/04/17 12:06, Shubham Mittal wrote:
> Hi all,
> 
> 
> I have reached to a certain situation here.
> 
> when uefi client makes a dhcp request to dhcp server, i have configured /etc/dhcp/dhcpd.conf file to run the pxelinux.0 file that resides at /tftpboot/pxelinux/pxelinux.0 
> 
> now when this file would be called, it will again make a dhcp request to dhcp server and and again run the pxelinux.0 file and so on.....
> 
> i think this is going into infinity loop.

You have to configure /etc/dhcp/dhcpd.conf to avoid this. Something like this could work:

        if exists ipxe.efi {
                filename "pxelinux.0";
        } else {
                filename "some other NBP here";
        }

Please try to read http://ipxe.org/howto/dhcpd
and have a scan through http://ipxe.org/docs

> 
> Could you help me out here so that it runs properly. 

We do not know what "properly" means for your situation.

Martin




More information about the ipxe-devel mailing list