Log in  \/ 
x
Register  \/ 
x

You are here: HomeArticlesUpdate a FOG Server IP Address

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.

  1. Login to your DHCP server and change the reserved address 
  2. Update option 66 to point to the new IP address
  3.  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.

  1. Boot up your FOG server
  2.  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
  3. Go to Fog Configuration (the ? at the top)
  4. Select Fog Settings on the left
  5. Under General settings update FOG_WOL_HOST with your new IP Address
  6. Under TFPT Server update FOG_TFTP_HOST with your new IP Address
  7. 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!
  8. Go To Storage Management (the Folder Icon at the top)
  9. Click Edit on the default storage node
  10. Update your IP Address
    Note: Make sure you click the update button to save the changes
  11. Login to the Fog Servers console directly using your administrator account
  12. Change directory using the following command without quotes “cd /tftpboot/
  13. Edit the config file using the following command “sudo vi ./default.ipxe
  14. Press “a” to enter edit mode
  15. Edit the line that says “chain http://youripaddress/fog/service/ipxe/boot.php” with your new IP Address in place of youripaddress
  16. Press “Esc” to exit edit mode
  17. Press “shift + ;” to make a :    (colon)
  18. Type in “w” and press enter (command at the bottom should look like this :w )
  19. Type “:q” and press enter to quit the editor
  20.  Restart your fog server "sudo shutdown -r 0"

Have a cookie your done J

Go to top