[ipxe-devel] sending ip-address for boot != gateway

Michael Brown mcb30 at ipxe.org
Wed Feb 26 16:50:58 UTC 2014


On 26/02/14 16:16, Oliver Rath wrote:
> I have maybe a problem setting a gateway at boot, which conflict with
> another gateway. Im doing multiple things:
>
> 1. overloading pxe with undionly.kkkpxe (works fine)
> 2. Chainloading a menu
> 3. sanbooting an iscsi device
>
> What is the best way to offer an ip-address for chainloading and
> sanbooting without setting a gateway and dns-server?

If you don't want a gateway or DNS server, then just don't provide those 
options via DHCP.

If for some reason you want the DHCP server to provide these options but 
want to override them within iPXE, then you can use either e.g.

   set net0/dns x.x.x.x

or

   clear net0.dhcp/dns

Michael



More information about the ipxe-devel mailing list