FOG IP Address Change -- PxE Problems
Due to us moving some of our servers to a different location we ended up changing our subnet for our servers in our main location (not my decision, my bosses). The FOG server stayed in this main location but the IP address has changed for it. I have changed the IP address in /opt/fog/.fogsettings and I also reran the installer. The Web Interface is working on the new address and I changed the IP addresses in there as well. When I try to PxE boot on a client to get into FOG it just errors out and says either it timed out or nothing was found (I can’t remember exactly what it says). I work remotely 10 hours away from the office so I will have to wait until Monday morning for someone to PxE boot and get the actual error message.
Just wondering if there’s anything I missed during the IP change?
Any help is appreciated! Thanks!
@sebastian-roth Ahh!! You were correct there. Yes, our domain controller is on a Windows Server. The Policy in DHCP was still pointing to the old IP address. I changed the IP address to the correct one now. I’m guessing these changes aren’t immediate? I’ll try it in a little bit and see if there’s any progress.
n-roth The 10.0.0.30 is our First Domain Controller.
Is it a Windows Server? Take a look at the DHCP settings and change DHCP option 66 to the new FOG server IP. Take a look at the information in this wiki article: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#Using_Windows_Server_2012_.28R1_and_later.29_DHCP_Policy
@sebastian-roth The 10.0.0.30 is our First Domain Controller. This was all set up from our old Network Administrator and we didn’t have problems until we switched IP’s. He’s not here anymore and FOG was placed into my hands. I’ve used FOG frequently but when it comes to setting up FOG and just settings in general, I’m brand new to it.
Should the DHCP be the name of the FOG server? The old FOG server was at 10.0.0.95 but the DHCP is 10.0.0.30 which is something else completely different.
DHCP and FOG server don’t have to be the same system. In some environments it is but it doesn’t have to be. We can’t tell you what it should be in your network. Sounds a bit like you have a rough DHCP server in your network (10.0.0.30). Please check to see if you can figure out who’s actually handing out this DHCP information.
@sebastian-roth Looks like TFTP is timing out. Everytime I try to upload the Picture or as a File I keep getting “Error” so here’s an imgur URL.
Should the DHCP be the IP of the FOG server? The old FOG server was at 10.0.0.95 but the DHCP is 10.0.0.30 which is something else completely different.
The IP of the new FOG server should be 10.2.2.16. When I shell into my FOG server and ifconfig it shows 10.2.2.16.
@tlems Well, please post a picture of the error screen and we’ll surely find what’s wrong.
@sebastian-roth This is where I first started. I did the above changes and it wasn’t working. I then did the script that WayneWorkman wrote to change the IP address to see if this did anything as well but that did not work either.
@tlems Find information on IP change in our documentation: https://docs.fogproject.org/en/latest/reference/change_fog_server_ip_address.html