[Advanced] PXE Boot Across Subnets

PXE Boot Across Subnets This article details a request to configure ggRock Machine Boot in a more advanced scenario with multiple network segments/VLANs/Subnets.

Problem

Clients exist on multiple subnets

In a more advanced network configuration, there may be clients on multiple subnets.

Solution

1) Run the following command to open a new file:
nano /opt/ggrock/app/App_Data/config.json
It should contain the following JSON:
{ "ServerConfiguration": {"BootDefaultGateway": "None"}}
Press CTRL+X to save the file. You'll be prompted after this is pressed to either say Yes or No. Type 'Y' for yes. Then press Enter to finish saving the file.
 
2) Run this command to create another new file:
 nano /etc/dnsmasq.d/vlan.conf 
Add this with relevant network information, taking into account the network address and network mask of each subnet you wish to permit PXE boot from.
dhcp-range=CLIENT_PC_NETWORK_ADDRESS1,proxy,CLIENT_PC_NETWORK_MASK1 
3) Restart the ggRock Server Application and the ggRock Web Server.
systemctl restart ggrock
systemctl restart nginx

Additional Information

In some cases, a custom dnsmasq configuration may be required.

NOTE:

If the above configuration does not function on your network topology, please reach out to us via web support chat, or at support@ggcircuit.com for further assistance.