@Guillaume-IT said in [CentOS 7 - FOG 1.5.5] Boot PXE:
1 interface: management / web server
172.17.10.85
-1 interface: DHCP / client that resets a station.
192.168.0.1
OK no problem. What you did “wrong” is when you installed fog you might not have told FOG which interface you wanted as the imaging interface. We see your configuration in situations where there is a dedicated imaging network and then a management network/internet access route.
So how to fix…
If you run this command ip addr show
from the fog server’s linux command prompt. Note which interface is associated with which IP address. Write these down because you will need to know the imaging network interface name in the next step.
Edit the hidden configuration file /opt/fog/.fogsettings. Update the interface in there to match the imaging network interface name.
Then go into the Web UI and goto Fog Configuration->Fog Settings then click on the expand all button. Search the web page for the incorrect interface name and then replace the value with the proper interface name. I know there is at least one instance on that page, there may be two, I don’t remember off the top of my head.
Now go back to the linux command prompt and rerun the FOG installer from the downloaded git repository. Just pick all of the defaults since it will load all of your settings you picked last time from the .fogsettings file.
Once the installation is complete confirm that the IP address listed in /tftpboot/default.ipxe is pointing to the correct interface IP address, if not fix it now.
That should clean up what happened. Its not a big deal, but you need to be aware of which interface name is your imaging network interface when you install FOG and not just pick the default. Just be aware that you can only image on the defined interface. You can’t image with FOG on both interfaces, that part isn’t going to work.