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

    Fresh Debian 11/ FOG install, cant PXE boot.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    6
    636
    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.
    • B
      Backpain
      last edited by

      49a3456d-ca1a-40c4-9e5a-63bb98c13c0d-image.png

      Hello,

      Thanks to anyone that reads or has input. I wanted to reach out to the FOG fam for help. I just installed Debian 11 and FOG on a VM (VMWare) and I for whatever reason cannot get the server to successfully accept or complete a PXE boot. I will add I can communicate/ access the VM from another system on the same VLAN and get a DHCP address so I know that is working but when I spin up a VM for PXE on the same VLAN I get the following message (see attached image). Any ideas? PS. I did set this up with FOG handling all the DHCP and such.

      The layout of the system:

      FOG SERVER ----VLAN 4
      Test VM ---- VLAN 4 (Cannot get PXE process to complete)
      Win11 ----- VLAN 4 (Gets DHCP address)

      FOG Server Static IP Address 172.27.3.34/24 172.27.3.1 gateway
      Win11 DHCP IP address 172.27.3.10/25 Same as the above gateway.

      S george1421G 2 Replies Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator @Backpain
        last edited by

        @Backpain said in Fresh Debian 11/ FOG install, cant PXE boot.:

        FOG Server Static IP Address 172.27.3.34/24 172.27.3.1 gateway
        Win11 DHCP IP address 172.27.3.10/25 Same as the above gateway.

        I guess the subnet /25 is a typo, right?

        I think it would be helpful to see the full screenshot without the blue bar masking important information.

        FOG SERVER ----VLAN 4
        Test VM ---- VLAN 4 (Cannot get PXE process to complete)
        Win11 ----- VLAN 4 (Gets DHCP address)

        Are both VMs configured the same way, UEFI or legacy BIOS?

        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

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

          @Backpain What do you have specifically defined in your dhcp server for dhcp options 66 (should be fog server ip address) and 67 (should be ipxe.efi or snp.efi)? The error message tells me that dhcp option 66 has a value but maybe not option 67.

          Lastly what is your dhcp server for vlan 4?

          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!

          B 1 Reply Last reply Reply Quote 0
          • B
            Backpain @george1421
            last edited by

            @george1421 said in Fresh Debian 11/ FOG install, cant PXE boot.:

            @Backpain What do you have specifically defined in your dhcp server for dhcp options 66 (should be fog server ip address) and 67 (should be ipxe.efi or snp.efi)? The error message tells me that dhcp option 66 has a value but maybe not option 67.

            Lastly what is your dhcp server for vlan 4?

            e14abe8b-3747-4663-be04-cafc1dbf3431-image.png
            322de67a-4173-46a5-8312-be080c643da6-image.png
            53608634-6530-4fe1-8a75-eeaf4df40801-image.png

            Thank you for helping me out, please excuse my ignorance but where can I find the config file to set the options for 67? Ect/dhcp/dhcpd.conf did not show any options I could see for such changes. I am familiar with DNSmasq and how that config file is set up so maybe I am missing something in that ect/dhcp/dhcpd.conf? Correct all three machines are on the same VLAN.

            george1421G 1 Reply Last reply Reply Quote 0
            • B
              Backpain @Sebastian Roth
              last edited by

              @Sebastian-Roth said in Fresh Debian 11/ FOG install, cant PXE boot.:

              @Backpain said in Fresh Debian 11/ FOG install, cant PXE boot.:

              FOG Server Static IP Address 172.27.3.34/24 172.27.3.1 gateway
              Win11 DHCP IP address 172.27.3.10/25 Same as the above gateway.

              I guess the subnet /25 is a typo, right?

              I think it would be helpful to see the full screenshot without the blue bar masking important information.

              FOG SERVER ----VLAN 4
              Test VM ---- VLAN 4 (Cannot get PXE process to complete)
              Win11 ----- VLAN 4 (Gets DHCP address)

              Are both VMs configured the same way, UEFI or legacy BIOS?

              Correct that was a typo sorry! That blue mark is the VM coming up right after that message I had to do an OBS screen record because I could not see the message haha. I want to say UEFI since this is in vSphere Client version 7.0.3.

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

                @Backpain This looks like a normal FOG config file. It is setup exactly how you need it.

                So let me ask a bit more about your network.
                1, It looks like all devices (fog server, pxe booting computer) are on the same subnet. Is that correct?
                2. If yes is that vlan 4 an isolated network used just for imaging or is it a general purpose vlan with many types of devices on it?
                3. Is there any chance another dhcp server is responding to the pxe boot requests? Either by a dhcp-relay / helper service on your vlan router or by directly having a second dhcp server on your network?

                Beyond the questions, I think our next step is to see if we can get a packet capture of the pxe booting process to see where the client is being directed and by whom. I have a tutorial here: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue?_=1673391869214

                Upload the pcap to a file share site and post the link here and I’ll take a look at it. If you want to review it yourself, use wireshark to open the pcap file. Look at the dhcp OFFER packet. This will be from your dhcp server. Look at the dhcp header for the next-server and boot-file fields. They should contain data… but there are two many what-ifs here, its probably best to let me look at it

                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!

                1 Reply Last reply Reply Quote 1
                • [[undefined-on, S Sebastian Roth, ]]
                • 1 / 1
                • First post
                  Last post

                260

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project