iPXE discussion forum
skip dhcp with ipxerom possible? - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: skip dhcp with ipxerom possible? (/showthread.php?tid=18378)



skip dhcp with ipxerom possible? - lakus - 2019-06-01 18:59

Hi,

is it possible with ipxe to skip the dhcp request each time on "Boot from LAN".
The Intel NIC has an flashrom in my pc, may possible to burn an ipxe-flash-rom into the rom from the card, but i dont know if it possible to skip the dhcp request and boot directly "from LAN", from an specified IP-Adress!?

Thanks a Lot.


RE: skip dhcp with ipxerom possible? - NiKiZe - 2019-06-01 19:11

If you are using ipxe as ROM it does have to get IP in some way.

If you are chaining ipxe can use the existing Pxe stack IP by just doing ifopen (this is true in legacy pcbios, not sure in efi)

This has been answered several times before, on phone now but will update this post with links later.


RE: skip dhcp with ipxerom possible? - lakus - 2019-06-01 19:51

so this mean i cannot skip this ? -->
https://thumbnail.image.shashinkan.rakuten.co.jp/shashinkan-core/showPhoto/?pkey=8a73d9e72c8b1c42368aa200beca009362758302.11.2.2.2j1.jpg

i was thinking that there is an way to set the IP-Adress into the flashrom directly, any hack or whatever, where the PC should boot from LAN direct and not forcing every PC StartUp to get an IP from an DHCP Server and then boot.


RE: skip dhcp with ipxerom possible? - NiKiZe - 2019-06-01 19:59

As I said, you need to get IP config in some way, if you are burning ipxe, then the options are dhcp, or set by script

The picture does not show ipxe, but the original boot ROM, disable the ROM to not get the prompt, or put it later in boot order.

You could test by putting ipxe on a USB, with embedded script - and you should do so anyway before burning...

Now remember that onboard NICs don't have their own ROMs, so you need a real card to flash it.