Computers in subnets or VLANs other than the PXE Server subnet, cannot boot into PXE for automation jobs to be executed.
Is it possible to configure the environment so that PXE clients on remote VLANs/Subnets are able to connect to the PXE server?
Computers booting into PXE rely on broadcast protocols to communicate with the PXE Server and download the boot file.
Broadcast traffic is normally not forwarded across routers unless they are configured to do so, thus by default it is not possible to boot a computer into PXE if it is not in the same subnet as the PXE Server.
A PXE server can be installed on servers on all VLANs and subnets (C:\DSSETUP folder\AXinstall.exe using the additional Components install). Do not install multiple instances of PXE on the same server.
The network infrastructure components can be configured to support the required forwarding of the appropriate broadcast packets. Using the IP helper command in Cisco Routers helps makes this possible.
Here is a more detailed explanation of the steps to review and understand:
Cisco routers by default do not forward broadcasts, but can be configured to do so quite easily. The protocols or services needed for PXE to function include DHCP, DNS, TFTP, BOOTP Client, BOOTP Server, Time Protocol, TACACS, NetBIOS, and NetBIOS Datagram. These protocols and the associated UDP ports will need to have broadcast capability enabled.
To do this, simply enter the command: ip helper-address xxx.xxx.xxx.xxx, (where xxx.xxx.xxx.xxx represents the IP address of of the computer to which the broadcasts should be forwarded. This command needs to be placed on the device (router, switch, or bridge) interface on where the broadcast is received.
By default, the IP helper-address command will forward these eight UDP ports:
The addresses for the DHCP Server and the PXE Server have been added as well. When configured this way, PXE packages route without problems over multiple subnets and VLANs.