Fresh Debian 11/ FOG install, cant PXE boot.
-
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. -
@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?
-
@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?
-
@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?
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.
-
@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.
-
@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
-