Changing IP Address
-
What do I have to do to change the IP address on my fog server. I am getting ready to switch it over to another subnet. How do I do this without having to reinstall FOG?
-
You just need to search the wiki. There is an article for changing the IP address of the FOG server that shows all the places you need to edit. WIKI link in my signature. Search for keyword “address” since “ip” is too short to return any results.
-
I have changed those but computers do not find the FOG server when I try to PXE boot. Fog management webpage is accessible.
-
Did you update dhcp configuration, either on the external DHCP server/device or on the FOG server if it’s doing DHCP?
-
Also, try accessing the fog management web page using the new IP address instead of the name, in case DNS is not updated yet.
-
I accessed the fog management through its new IP. I edited the dhcpd.conf, however in the Wiki, it only says to change Next-Server
Underneath I have
subnet 212.95.81.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
range dynamic-bootp 212.95.81.10 212.95.81.254;
default-lease-time 21600;
max-lease-time 43200;
option domain-name-servers 212.95.4.31;
option routers 10.255.255.1;
filename “pxelinux.0”;
}which has settings of the old IP Address. I will try changing that to reflect the IP address change and give that a whirl and post back.
-
still no go
-
did you restart dhcpd after you updated the config file? Did you update DNS with the new IP for the fog host name?
-
I restarted the server after making the appropiate changes…I have updated the DNS and I can ping by hostname and resolve the correct IP address of the FOG server. My FOG server is supposed to act as the DHCP server, so I am assuming that it is in the config somewhere.
-
NVM, Thanks for the help, I got it! It did require a restart of the service, and not just a server restart.
-
Ugh! Had to change the IP address of the FOG server again. Not sure whats going on. I changed everything in the FOG WebUI, and changed the tftpboot/pxelinux.cfg/default, and changed /etc/dhcpd.conf and restarted the service…I can connect to the WebUI, ping the FOG server, but when I try to PXE, it does not find the FOG server.
-
Nevermind…I made a wrong change in the dhcpd.conf.