Install DHCP After Fog installation



  • Hello,

    We are testing with Fog and therefore turned off DHCP because we already have a dhcp server. However in testing in our isolated environment we realized we need the DHCP Services running on the fog server. How can I install/configure them now that Fog is already installed?



  • I’d say adjust the /opt/fog/.fogsettings file and let the fog installer handle configuring DHCP (It is solid, I’ve done a lot of work on that part of the installer). You’ll probably need to install dhcp-server before hand though.


  • Moderator

    What version of linux is your fog server running on?

    There are 2 ways to go about enabling the dhcp server.

    1. Manually install your distribution’s version of isc-dhcp and then using this config file: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#Example_1 (I like this method the best).
    2. Fiddle with the .fogsettings file and update the following 2 values.
            dodhcp='N'
            bldhcp='0'
    

    to be

            dodhcp='Y'
            bldhcp='1'
    

    Then rerun the fog installer. The fog installer will use the previously saved answers in this file every time you run the installer.


 

498
Online

41.5k
Users

12.0k
Topics

113.4k
Posts