[ipxe-devel] Variable for proxy DHCP server address?

Floris Bos / Maxnet bos at je-eigen-domein.nl
Tue Mar 27 01:55:20 BST 2012

On 03/27/2012 01:49 AM, Brandon Penglase wrote:
> Are you sure your DHCP Server is giving out the right server? What NIC 
> are you using (that the original PXE is on)? Mine returns correct when 
> I tried it as undionly.kkpxe, and when I used it as a ROM. See picture 
> attached, or here if it doesn't make it through: 
> http://node4.smart-serv.net/~brandon/ipxe-test.png Maybe it's 
> something to do with the DNSMasq stuff, which I do not have running 
> here. Brandon 

For testing purposes I use Virtualbox.
If there is only one DHCP server it does work correctly.
However that is not the setting I want to use it in.

I want to use:

1) a regular DHCP server that only hands out IP-addresses, but does not 
send the PXE specific options. No settings can be changed on this server.

2) a seperate proxy DHCP server that does not manage IP-address, but 
only sends the PXE specific options.

Basically the top part of figure 2-4 on page 18 of the PXE 

dnsmasq (unlike ISC dhcpd) supports this special configuration.
And the boot part indeed does work fine, as you can see in this 
screenshot: http://postimage.org/image/l783smgyr/
The regular PXE stack detects correctly that there are 2 seperate 
servers being used ("DHCP IP: PROXY IP:" line 
at the top)

However iPXE shows as next-server.
Was wondering if there is a way to get the proxy IP 
instead, for use in a script.

Yours sincerely,

Floris Bos

More information about the ipxe-devel mailing list