• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
    last edited by Enigma Jun 19, 2023, 3:04 PM Jun 19, 2023, 9:01 PM

    I have a CentOS 7 server running FOG and I setup FOG to handle DCHP but i can’t get the machines to boot up over PXE

    Network setup:

    1 - Wired interface - FOG server machine
    1 - 8 port unmanaged network switch

    Addresses: 192.168.107.200
    Netmask: 255.255.255.0
    Gateway: 192.168.107.2
    DNS: 192.168.107.2
    Routes: Automatic

    G 1 Reply Last reply Jun 19, 2023, 9:28 PM Reply Quote 0
    • G
      george1421 Moderator @Enigma
      last edited by Jun 19, 2023, 9:28 PM

      @Enigma Your post is missing enough info to help.

      Is 192.168.107.x an isolated network?
      Is there an existing dhcp server on this subnet?
      What error are you getting on the client computer?

      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 Jun 19, 2023, 9:35 PM Reply Quote 0
      • E
        Enigma @george1421
        last edited by Jun 19, 2023, 9:35 PM

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

        Is 192.168.107.x an isolated network?
        Yes, its isolated

        Is there an existing dhcp server on this subnet?
        No, Fog will be it

        What error are you getting on the client computer?
        Machines are not getting pass the Start PXE over IPv4 screen

        G 1 Reply Last reply Jun 19, 2023, 9:38 PM Reply Quote 0
        • G
          george1421 Moderator @Enigma
          last edited by Jun 19, 2023, 9:38 PM

          @Enigma ok on the fog server linux console. Key in the following command netstat -an | grep :67 That should return a line like 0.0.0.0:67 This will show if the dhcp server is running on the fog server. You can also run this command ps aux| grep dhcp to see if the isc-dhcp server is running in memory. Lets confirm that dhcp is functioning on the fog server

          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 Jun 20, 2023, 7:03 PM Reply Quote 0
          • E
            Enigma @george1421
            last edited by Jun 20, 2023, 7:03 PM

            @george1421

            Ok, here are the results
            IMG_0203.JPG

            G 1 Reply Last reply Jun 20, 2023, 10:36 PM Reply Quote 0
            • G
              george1421 Moderator @Enigma
              last edited by Jun 20, 2023, 10:36 PM

              @Enigma Well it look like I forgot to hit submit earlier when I responded. Looks like the dhcp server is up and running and listening on port 67. So that is the first half of getting things to boot.

              I think the next step is to configure the fog server to capture a pxe boot packet to see if there are any other actors involved. Here are the steps needed to configure tcpdump on the fog server to capture the pxe booting process.
              https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue?_=1687300270627

              Other things I’ve seen cause pxe booting issues.
              If dhcp snooping is enabled on your network to only allow dhcp packets to get to the defined dhcp server and that dhcp server is not the FOG server.
              If you have more than one dhcp server on your subnet and the other dhcp server responds before the fog server.
              You have a proxy dhcp server configured on your network
              Your fog server is running as a VM on a vm host server that doesn’t have the promiscuous network mode enabled.

              Most of these questions will be answered with the pcap. Once you collect the pcap upload it to a file share site and share it as public read only. Then either post the link here or use the fog forum chat and DM me the link. I will take a look and let you know what we found.

              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 Jun 22, 2023, 6:27 PM Reply Quote 0
              • E
                Enigma @george1421
                last edited by Jun 22, 2023, 6:27 PM

                @george1421

                I sent over the Wireshark traffic cap over DM, also some screenshots.

                1 Reply Last reply Reply Quote 0
                • E
                  Enigma
                  last edited by Enigma Jun 26, 2023, 1:46 PM Jun 26, 2023, 7:44 PM

                  @george1421 I’ve disabled the firewall on the server and I’m seeing the same results (only DHCP discover packets going through)Screenshot from 2023-06-26 15-44-40.png

                  T 1 Reply Last reply Jun 26, 2023, 7:46 PM Reply Quote 0
                  • T
                    Tom Elliott @Enigma
                    last edited by Jun 26, 2023, 7:46 PM

                    @Enigma Are you sure it’s booting PXE and not UEFI?

                    In case it is UEFI, please disable secure boot on the machine.

                    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

                    E 1 Reply Last reply Jun 26, 2023, 8:02 PM Reply Quote 1
                    • E
                      Enigma @Tom Elliott
                      last edited by Enigma Jun 26, 2023, 2:04 PM Jun 26, 2023, 8:02 PM

                      @Tom-Elliott
                      Hello, Yes you are right it was not but now it is but now stuck here.Image.jpeg

                      T 1 Reply Last reply Jun 26, 2023, 8:05 PM Reply Quote 0
                      • T
                        Tom Elliott @Enigma
                        last edited by Tom Elliott Jun 26, 2023, 2:05 PM Jun 26, 2023, 8:05 PM

                        @Enigma Can you edit your /etc/dhcpd.conf file and change the instances of undionly.kpxe to undionly.kkpxe, if that still doesn’t work, attempt ipxe.pxe?

                        Once you change the file, you’ll need to restart dhcpd service with:
                        systemctl restart dhcpd

                        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

                        E 1 Reply Last reply Jun 26, 2023, 8:36 PM Reply Quote 0
                        • E
                          Enigma @Tom Elliott
                          last edited by Jun 26, 2023, 8:36 PM

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

                          G 1 Reply Last reply Jun 26, 2023, 9:27 PM Reply Quote 0
                          • G
                            george1421 Moderator @Enigma
                            last edited by george1421 Jun 26, 2023, 3:28 PM Jun 26, 2023, 9:27 PM

                            @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 Jun 28, 2023, 1:24 PM Reply Quote 0
                            • E
                              Enigma @george1421
                              last edited by Enigma Jun 28, 2023, 7:26 AM Jun 28, 2023, 1:24 PM

                              @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

                              G 1 Reply Last reply Jun 28, 2023, 6:46 PM Reply Quote 0
                              • G
                                george1421 Moderator @Enigma
                                last edited by Jun 28, 2023, 6:46 PM

                                @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 Jun 29, 2023, 5:45 PM Reply Quote 0
                                • E
                                  Enigma @george1421
                                  last edited by Enigma Jun 29, 2023, 11:48 AM Jun 29, 2023, 5:45 PM

                                  @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?

                                  G 1 Reply Last reply Jun 30, 2023, 1:44 AM Reply Quote 0
                                  • G
                                    george1421 Moderator @Enigma
                                    last edited by Jun 30, 2023, 1:44 AM

                                    @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 Jun 30, 2023, 5:05 PM Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by Jun 30, 2023, 4:42 PM

                                      @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

                                      T 1 Reply Last reply Jun 30, 2023, 5:32 PM Reply Quote 0
                                      • E
                                        Enigma @george1421
                                        last edited by Jun 30, 2023, 5:05 PM

                                        @george1421 Hello I’ve DM the traffic cap

                                        G 1 Reply Last reply Jun 30, 2023, 7:21 PM Reply Quote 0
                                        • T
                                          Tom Elliott @Sebastian Roth
                                          last edited by Jun 30, 2023, 5:32 PM

                                          @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
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            8/24
                                            Last post

                                          206

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project