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

    DHCP issue (i think)

    Scheduled Pinned Locked Moved
    Windows Problems
    3
    12
    1.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.
    • S
      Sebastian Roth Moderator
      last edited by

      @HolyBTN Please start by taking a picture or video of the error you run into when PXE booting in UEFI mode and post that here.

      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

      H 1 Reply Last reply Reply Quote 0
      • H
        HolyBTN @Sebastian Roth
        last edited by HolyBTN

        @sebastian-roth Thank you for replying

        Here’s a screenshot
        69ffb5bc-e87d-4ee6-918d-e606a769f53b-image.png

        Here’s my dhcp
        34a07e2d-2fee-4ee8-91ac-0b6483641624-image.png

        I did everything here
        https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence

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

          @holybtn said in DHCP issue (i think):

          I did everything here
          https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence

          Just for clarity, I don’t see the policies related to uefi in your screen shot. Make sure you activate the policies in this scope.

          For the VM make sure you have secure boot turned off. Otherwise it will fail the pxe boot.

          Secondly I’ve had VMWare ESXi act a little flaky with PXE booting on UEFI. Most of the time it works other times it gets stuck on the screen shot you posted. To make sure its not an ESXi issue, take a uefi computer on the same subnet as the VM server and see if you can pxe (UEFI) boot it into the FOG menu. We are only interested in seeing if a physical machine gets to the FOG ipxe menu. That will tell us if its a dhcp or FOG issue or just ESXi being a trouble maker.

          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!

          H 1 Reply Last reply Reply Quote 0
          • H
            HolyBTN @george1421
            last edited by HolyBTN

            @george1421 thank you for you reply

            I already made the same test with a physical uefi HP desktop, same screen as the esxi one
            Here’s the policies i created in my dhcp

            Thank you again

            a5b57340-c728-446d-9538-497eac0bd151-image.png

            1cea25c2-dabc-45b7-b18e-1a0843788edd-image.png
            9f50dae2-ba8c-4a94-a009-dc8f7890516c-image.png

            Tx

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

              @holybtn What I was referring to is this, if you view the scope options within the scope

              dhcp_policy.png

              In your screen shot you only have the standard policy (none) in place. You need to make sure the policies are enabled. Then they should show up in your scope options.

              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!

              H 1 Reply Last reply Reply Quote 0
              • H
                HolyBTN @george1421
                last edited by HolyBTN

                @george1421 It looks okay to me
                181f0008-1c91-4182-86d5-8b86e5fb81e3-image.png

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

                  @holybtn Well that is a different picture than you submitted before.

                  OK a few things I see here.

                  1. Why is bios booting to 10.4.1.175 and uefi 10.4.1.5?
                  2. Just for clarity, if you look at mine policies. UEFI has 2 64 bit modes. One is arch 009 and the other is 007. You need to have both policies defined.

                  I know you followed the wiki page but if the only thing is changing is the boot file, you don’t need to set dhcp option 66 in each policy, since you only have one fog server the default or none policy will be used. So then your dhcp policies will be exceptions to the standard. That is how I have my dhcp scope setup.

                  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!

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    HolyBTN @george1421
                    last edited by HolyBTN

                    @george1421 The 10.4.1.175 was a VM used to test another install of fog, i deleted it, same ❌
                    I just adapt like you said
                    It looks better?

                    6630f31a-9d51-45c2-8074-5d0ac03fb391-image.png

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

                      @holybtn Ok with this setup does it still do the same thing?

                      If yes, then lets check to see what is flowing down the network.
                      Lets take a witness computer (computer not involved with pxe booting) and load wireshark on it. Use this capture filter to only capture pxe booting traffic. port 67 or port 68 Plug this computer into the same network switch as the pxe booting computer.

                      Start the packet capture then pxe boot the target computer/vm until failure. Then stop the pxe booting process.

                      If you want me to look at the packet capture post the pcap file to a file share site and either post the list in the forum or use forum chat to send me the link.

                      If you want to look at the pcap your self I can quickly tell you what to look for. The DHCP process is sometimes referred to as DORA (Discover, Offer, Request, ACK/NACK). The computer will send out a DISCOVER packet to start things. Look at dhcp options 93 or 94 (can’t remember) that is where the computer says hey I’m a bios or uefi computer.

                      One or more dhcp servers that hear the DISCOVER, will respond with an OFFER packet. There are fields in the ethernet header {next-server} and {bootfile} that should match below with dhcp options 66 and 67.

                      If I had to guess, the dhcp server that is responding will be missing either the options in the ethernet header or dhcp options 66 and 67 to cause that error message you see.

                      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!

                      H 2 Replies Last reply Reply Quote 0
                      • H
                        HolyBTN @george1421
                        last edited by

                        @george1421 said in DHCP issue (i think):

                        ant me to look at the packet capture post the pcap file to a file share site and either post the list in the forum or use forum chat to send me the link.

                        Hello, Thank you very much, i’ll do that tomorrow

                        1 Reply Last reply Reply Quote 0
                        • H
                          HolyBTN @george1421
                          last edited by

                          @george1421 Hello
                          I’m not really familiar with wireshark so i send you the pcap, thank you

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

                          218

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project