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

    Isolated Network Setup (Stuck in Start PXE over IPv4)

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    24
    4.0k
    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.
    • E
      Enigma @Tom Elliott
      last edited by

      @Tom-Elliott Ok, but the dhcpd.conf file is empty, where should add those details?
      Screenshot from 2023-06-26 16-33-12.png

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Enigma
        last edited by george1421

        @Enigma ok so how did you add dhcp services to your fog server (a blank dhcp config file would do exactly what you are seeing. ISCDHCP listening but not responding to any requests)? Did you add dhcp services when you installed FOG? Did you add the isc-dhcp server after fog was installed from your repo?

        So you’ll probably ask what goes in that file? Look at this example: https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence#Example_1 The dhcp pool will probably need to be updated to match the subnet of your dedicated imaging network.

        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!

        E 1 Reply Last reply Reply Quote 0
        • E
          Enigma @george1421
          last edited by Enigma

          @george1421 Hello thank you, For the fog setup I let dhcp service to be handled by fog. not sure why the dhcp config is empty.

          Can add these details to the from the 2 screenshots to the dhcp config file?

          c09eae53-1bd0-4c24-aedf-9804ff36ab06-image.png
          a12555db-02ff-4e08-b0c3-a524c2078362-image.png

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @Enigma
            last edited by

            @Enigma I would start with example #1 from that url. You will need to update the subnet, netmask range values so its appropriate for your isolated network. Anywhere you see the default 192.168.1.x you need to update so its appropriate for your imaging network.

            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!

            E 1 Reply Last reply Reply Quote 0
            • E
              Enigma @george1421
              last edited by Enigma

              @george1421 Ok thank you I updated the dhcp config from example 1 and now i’m seeing different results. Can i share a traffic cap?

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @Enigma
                last edited by

                @Enigma yes same method as before.

                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!

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

                  @Tom-Elliott said in Isolated Network Setup (Stuck in Start PXE over IPv4):

                  /etc/dhcpd.conf

                  I might be wrong here but from the top of my head I wouldn’t think that’s the right config file. Guess it is /etc/dhcp/dhcpd.conf though.

                  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

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • E
                    Enigma @george1421
                    last edited by

                    @george1421 Hello I’ve DM the traffic cap

                    george1421G 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Sebastian Roth
                      last edited by

                      @Sebastian-Roth Probably, yeah, sorry

                      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      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

                      1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @Enigma
                        last edited by Sebastian Roth

                        @Enigma said in Isolated Network Setup (Stuck in Start PXE over IPv4):

                        Hello I’ve DM the traffic cap

                        Ok that is looking much better I now see the DORA process (Discover, Offer, Request, Ack). BUT there is something missing. When I look at the ethernet header I see the next server being 192.168.107.2 (hopefully is your fog server). The boot file is undionly.kpxe (this is good), but what is missing is the dhcp options 66 and 67. So that is telling me you are missing something in the config file. You are so close to having this work.

                        Could you post your complete dhcpd.conf config file?

                        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!

                        E 2 Replies Last reply Reply Quote 0
                        • E
                          Enigma @george1421
                          last edited by george1421

                          @george1421 Hello

                          sure, here you go:

                          #
                          # DHCP Server Configuration file.
                          #   see /usr/share/doc/dhcp*/dhcpd.conf.example
                          #   see dhcpd.conf(5) man page
                          #
                          
                          option space PXE;
                          option PXE.mtftp-ip    code 1 = ip-address;
                          option PXE.mtftp-cport code 2 = unsigned integer 16;
                          option PXE.mtftp-sport code 3 = unsigned integer 16;
                          option PXE.mtftp-tmout code 4 = unsigned integer 8;
                          option PXE.mtftp-delay code 5 = unsigned integer 8;
                          option arch code 93 = unsigned integer 16; # RFC4578
                          
                          use-host-decl-names on;
                          ddns-update-style interim;
                          ignore client-updates;
                          next-server 192.168.107.200;
                          authoritative;
                          
                          subnet 192.168.107.0 netmask 255.255.255.0 {
                              option subnet-mask 255.255.255.0;
                              range dynamic-bootp 192.168.107.10 192.168.107.254;
                              default-lease-time 21600;
                              max-lease-time 43200;
                              option domain-name-servers 192.168.107.200;
                              #option routers x.x.x.x;
                           
                              class "UEFI-32-1" {
                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
                              filename "i386-efi/ipxe.efi";
                              }
                          
                              class "UEFI-32-2" {
                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
                               filename "i386-efi/ipxe.efi";
                              }
                          
                              class "UEFI-64-1" {
                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
                               filename "ipxe.efi";
                              }
                          
                              class "UEFI-64-2" {
                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
                              filename "ipxe.efi";
                              }
                          
                              class "UEFI-64-3" {
                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
                               filename "ipxe.efi";
                              }
                          
                              class "Legacy" {
                              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
                              filename "undionly.kkpxe";
                              }
                          
                          }
                          
                          1 Reply Last reply Reply Quote 0
                          • E
                            Enigma
                            last edited by

                            Hello do i have the correct DHCP conf settings?

                            1 Reply Last reply Reply Quote 0
                            • E
                              Enigma @george1421
                              last edited by

                              @george1421 Hello any ideas?

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

                              168

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project