• Hello,

    We use FOG for 12 years more, so we were fully happy with it and now our new desktops from HP is uefi only and we’re kind of stuck
    We followed the uefi configuration, it used to work for some months, and suddently (maybe a windows update on the dhcp?) it doesn’t work anymore.

    So now in bios fog works fine, in uefi not.

    We use a windows 2016 DHCP.

    Can somebody help us to troubleshoot this please? I don’t know where to start ❌

    Thank you


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


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

  • Moderator

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


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

  • Moderator

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


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

  • Moderator

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


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

  • Moderator

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


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

  • Moderator

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

352
Online

9.6k
Users

16.0k
Topics

147.9k
Posts