Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Heuristic to break DHCP infinite loop
2020-04-05, 12:34 (This post was last modified: 2020-04-05 13:29 by alkisg.)
Post: #2
RE: Heuristic to break DHCP infinite loop
I just noticed the almost undocumented scriptlet option. This is even better than the heuristic that I suggested.

So now I just want to suggest that scriptlet gets documented in https://ipxe.org/cfg/scriptlet and in https://ipxe.org/howto/chainloading.

For dnsmasq, an example syntax is:
Code:
dhcp-option-force=encap:175,81,"ifopen && chain ltsp/ltsp.ipxe || shell"

P.S. keep in mind that scriptlet won't work if iPXE is booted locally, from ipxe.iso etc; it will only work if ipxe.pxe, undionly.kpxe etc are loaded over the network, so that scriptlet is there even before the "dhcp" command is run.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Heuristic to break DHCP infinite loop - alkisg - 2020-04-05 12:34



User(s) browsing this thread: 2 Guest(s)