Hello,
Just checking some logic:-
- A PXE client starts and does DHCPDISCOVER on its first interface;
- A PXE server responds and provides DHCPOFFER;
- The client uses DHCPREQUEST to formally request from what was offered by the server;
- The server performs accounting and responds with DHCPACK;
- The client performs PXE actions (download, execute).
Assuming that this process would be starting a new instance of OpenWrt, is there a way to passthrough the obtained IP configuration to the instance? I’ve tried the “ip=“ kernel parameter but this appears to be NFS module specific and dmesg indicates that it isn’t picked up by anything in the default initramfs.
Is it expected for a DHCP-configured interface to obtain its configuration twice on startup, or can this be done more efficiently?