Fog Server v1.2.0 Changing Your IP Address Guide
In this tutorial I will be covering the process to modify a fog servers IP address that is assigned via a DHCP server(Reserved Address).
Please note that in order to use this type of setup your DHCP server must be started before the Fog Server in order for it to obtain correct IP information.
First things first we must change the DHCP Servers Reservation.
- Login to your DHCP server and change the reserved address
- Update option 66 to point to the new IP address
- Log out of your DHCP server that’s the only changes it requires
Now onto your FOG servers configuration, there are a total of 4 changes to make 3 of which are in the Web GUI and one must be done to a configuration file via command line.
- Boot up your FOG server
- Login from another machine to the web interface Note: it will be http://yournewIPaddress/fog replacing yournewIPaddress with the address set in the DHCP server
- Go to Fog Configuration (the ? at the top)
- Select Fog Settings on the left
- Under General settings update FOG_WOL_HOST with your new IP Address
- Under TFPT Server update FOG_TFTP_HOST with your new IP Address
- Under Web Server update FOG_WEB_HOST with your new IP Address
Note: Make sure you click Save Changes on each one as you go! - Go To Storage Management (the Folder Icon at the top)
- Click Edit on the default storage node
- Update your IP Address
Note: Make sure you click the update button to save the changes - Login to the Fog Servers console directly using your administrator account
- Change directory using the following command without quotes “cd /tftpboot/”
- Edit the config file using the following command “sudo vi ./default.ipxe”
- Press “a” to enter edit mode
- Edit the line that says “chain http://youripaddress/fog/service/ipxe/boot.php” with your new IP Address in place of youripaddress
- Press “Esc” to exit edit mode
- Press “shift + ;” to make a : (colon)
- Type in “w” and press enter (command at the bottom should look like this :w )
- Type “:q” and press enter to quit the editor
- Restart your fog server "sudo shutdown -r 0"
Have a cookie your done J
