• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Configuring existing ISC-DHCP Server to work with FOG v1.2.0

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    dhcp
    4
    12
    8.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ramblingbiped
      last edited by ramblingbiped

      In my current network I have a pre-existing ISC-DHCP server running on an Ubuntu server. I chose to install FOG without DHCP enabled with the assumption that I would integrate it with my existing DHCP server. I couldn’t find specific information in regards to making the actual configuration changes to make this work. After searching through the documentation here and elsewhere I eventually came across the config file entries that made this possible in the man pages of dhcp.conf. This post is just a reference for others that might need the same information and are having a tough time locating it.

      The two lines you need to add to your /etc/dhcp/dhcpd.conf file are as follows:

          next-server                 10.10.1.13; #Fog Server IP Address
          option bootfile-name        "undioonly.kpxe";
      

      Example of a configuration file with these options added:

      #internal LAN (eth2)
      subnet 10.10.0.0 netmask 255.255.0.0 {
          range               10.10.224.0 10.10.255.254;
          option routers          10.10.0.10;
          option subnet-mask      255.255.0.0;
          option broadcast-address    10.10.255.255;
          option domain-name-servers  10.10.1.11, 10.10.1.12;
          option domain-name          "example.com";
          option tftp-server-name     "10.10.0.10";
          next-server                  10.10.1.13; #Fog Server IP Address
          option bootfile-name        "undioonly.kpxe";
      
          include "/etc/dhcp/lan.conf";
      }
      

      I eventually dug through the man pages of dhcp.conf and found the information I was needing. The redirect links to Red Hat’s documentation on DHCP from the FOG Wiki do not make any mentions of the next-server option. Hopefully this post will save others seeking the same information in the future a little time.


      REFERENCES

      DHCP.conf man page: http://linux.die.net/man/5/dhcpd.conf (do a quick search for “next-server” and it will take you directly to the relevant section of the document)

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        There is also:
        https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence
        and
        https://wiki.fogproject.org/wiki/index.php?title=Fedora_21_Server#Verify_Fedora_DHCP_config_.28if_using_DHCP.29

        Also, if you just install FOG with DHCP, it will build the dhcpd.conf file you need, and then you can edit /opt/fog/.fogsettings to disable DHCP on future installations, and then disable dhcp at the OS level as well.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 1
        • S
          Sebastian Roth Moderator
          last edited by

          And here: https://wiki.fogproject.org/wiki/index.php?title=IPXE#Linux_DHCP_.28ISC.7CDHCP.7CDHCP3.29

          Seams like the information is kind of scattered.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          Wayne WorkmanW 1 Reply Last reply Reply Quote 1
          • Q
            Quazz Moderator
            last edited by

            Might want to change undioonly.kpxe to undionly.kpxe 😉

            1 Reply Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman @Sebastian Roth
              last edited by

              @Sebastian-Roth What would you think about a page strictly on all things concerning ISC-DHCP ?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @Wayne-Workman Not sure if we have other topics (like BIOS/EFI or Mac OS X booting) scattered if we put all the ISC-DHCP relevant things into one article. Sure the best would be to link between those articles. Question remains: Should we come up with a ISC-DHCP article? I don’t know.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @Sebastian Roth
                  last edited by

                  @Sebastian-Roth I’ll work on linking them all together later tonight.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @Wayne-Workman Thanks a lot for all you are doing to add to the FOG project! I am being kind of lazy with the wiki in the last months - nevertheless I know how important documentation is!! Thanks again.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                    • Wayne WorkmanW
                      Wayne Workman @Sebastian Roth
                      last edited by

                      @Sebastian-Roth A strong FOG Wiki is needed for a strong FOG. The moderators/developers would just be killing themselves if they answered things over and over in the forums. While the forums is also a critical component and a means of documentation - the Wiki should also be of equal concern - and the Wiki should be the first-stop-shop for people trying to do things and figure things out. If the Wiki is sound and solid, then people shouldn’t have so many issues.

                      Up to this point - i’ve only very generically covered 1.3.0 in the wiki because things change so fast. I’ve focused more on the Linux stuff and troubleshooting techniques. Once 1.3.0 is released - I plan on doing more basic stuff, how to do this, how to do that, best practices, and videos - a lot of videos.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 1
                      • Wayne WorkmanW
                        Wayne Workman @Sebastian Roth
                        last edited by

                        @Sebastian-Roth said:

                        @Wayne-Workman Not sure if we have other topics (like BIOS/EFI or Mac OS X booting) scattered if we put all the ISC-DHCP relevant things into one article. Sure the best would be to link between those articles. Question remains: Should we come up with a ISC-DHCP article? I don’t know.

                        I was thinking on the best way to do this that would require the least effort to change in the future. I started thinking multiple links in many articles was a bad idea, so I made this:

                        https://wiki.fogproject.org/wiki/index.php?title=Related_to_ISC-DHCP

                        I’m now working on embedding that article in every spot that mentions ISC-DHCP while also adding to it’s list.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator @Wayne Workman
                          last edited by

                          @Wayne-Workman I like the “Related_to_xyz” naming. Would suite other things as well I guess. Might wanna add this to the Knowledge Base which is linked on the main wiki page!?

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @Sebastian Roth
                            last edited by

                            @Sebastian-Roth said:

                            @Wayne-Workman I like the “Related_to_xyz” naming. Would suite other things as well I guess. Might wanna add this to the Knowledge Base which is linked on the main wiki page!?

                            Done.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            154

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project