01-01-2024, 03:34 AM
(12-30-2023, 02:09 AM)AndyPark Wrote:(12-01-2023, 02:51 PM)Kram Stan Wrote: Hey, all. I think I need to chainload (redirect) from my main iPXE server to iVentoy. Basically, there will be a PXE menu entry on Server #1 which needs to direct to Server #2 running iVentoy. I'm not sure what the syntax should be and what specifically within iVentoy I need to be linking to.
Any help would be appreciated.
My pure guess, you can first setup a second Server idential to your #1 server and see how you can chainload to this one. After that just change the dest IP to iVentoy and binary name to iventoy_loader_16000. Make sure iventoy is running in External mode and in the same LAN.
I managed to chainload from my main iPXE to iVentoy, basically you need to do following things:
1. In your main iPXE boot.ipxe file, set user-class to a specific value, such as MyCustomClass
2. In your dhcp server, match this user-class and send next-server as your iVentoy IP
3. In your main iPXE boot.ipxe, run 'dhcp' command, after 'set user-class MyCustomClass' command, then 'chain tftp://${next-server}/iventoy_loader_16000'
Done