Static IP PXE BOOT
-
I am creating my images on een no dhcp lab. Rolling out on a dhcp envirment.
When i want to capture my image i’ve created a static ip IPXE boot iso, i load in that iso in my esxi client all goes fine. Only when the IPXE made an connection to the fog server its again asking for a dhcp ip.
I think that is programmed in the PXE boot script, is there a way i can program that so that if DHCP is not available i can enter an static ip ?
i’ve added a gif.
-
I have to ask the question why no dhcp on this network? Is there a technical or regulation requirement for no dhcp? FOG needs dhcp server to send out the needed boot information. That is a requirement.
-
Its the server lan, no dhcp server there.
On educational lan i can use our dhcp server and have pxe boot from fog fully working no problem.
But i wanted to create my images on the fast VMware server so that i can capture and go home, and not have to work on my laptop.
-
@doludizgin I strongly recommend you setup DHCP. There are alternatives like George’s USB stick but I believe they are not worthwhile (no offense @george1421).
-
Hey Wayne:
There ARE specific use cases for broken bios/firmware. But even with the USB boot sticks you still need to have dhcp services on your network.
-
@doludizgin If you are keen you can surely compile your own iPXE binary with an embedded script asking for a static IP to enter. Take a a look at the wiki on how to do that.
But I suggest you better run a DHCP server just as George and Wayne said…