Cant boot to fog UEFI or Legacy
-
Nothing is coming up a big loop. Fog server is on the same static network as the dhcp server. this is different then the dhcp network. the server is a VM on Centos 7 fog version 1.5.0 which i also cant upgrade to 1.5.2. i added a tcpdump[0_1524244729570_output1.pcap](Uploading 100%) i can ping both devices from each other. I’m not even able to bring up a menu to register the host. Please let me know if their is anything else you need.
file is undionly.kpxe for option 67 and 66 is the ip of the fog server. using a dell latitude E7250 secure boot is off. -
@snaggel So we figured out the port on our switch was a trunk port. we cleared the configuration on the port. we also enabled portfast on it. we tested and it registers the host and loaded images. just wanted to let everyone know. thanks again. now on to getting it activated through KMS.
-
@snaggel When uploading files, please allow them more time. Your file upload didn’t complete. Please try to re-post it.
-
ok uploading it did say 100% sorry about that. here is a new one.[0_1524250529919_output2.pcap](Uploading 100%) it was a pcap i will change the EXT. changed ext to txt. 0_1524250667836_output2.txt
-
I was wondering if you had time to look at the output file yet?
-
@snaggel I’ve just looked it over. These IP addresses are serving DHCP:
- 10.10.60.11
- 10.10.60.248
- 10.10.60.240
All of the offers from those three addresses are identical for DHCP options 66 and 67.
I think the problem might be further along - this DHCP traffic looks fine to me. Can you do another capture but allow TFTP and HTTP also? If you’re unfamiliar with how to filter those, you could filter by the FOG Server’s IP address and this host’s IP address. Or you could give us an unfiltered file.
-
@snaggel The issue is that you are trying to pxe boot a uefi system (type BC/0007) but your dhcp servers are telling the client to boot with undionly.kpxe (a bios [legacy] boot loader). That simply isn’t going to work. You need to update your dhcp servers to be dynamic in the handing out of boot file names or only boot one kind of hardware.
-
@george1421 I’m surprised I missed that. Thanks George.
-
here is the unfiltered pcap which is now a txt file.
[mod note] pcap file was removed -Geo
-
@snaggel I removed your pcap file. It contained way to much information that should be posted on a public forum. Please use the capture filter of
port 67 or port 68 or port 69 or port 4011
to capture just the pxe booting packets.But again your issue is related to sending the wrong boot loader to the target computer.
-
@george1421 thanks for that. also what boot loader should i use. i pretty sure i sent the pcap file with those filters first and was aked to get an unfiltered one and/or http and tftp filtered.
-
@snaggel typically for uefi systems you want to send ipxe.efi and for legacy/bios systems you would send undionly.kpxe.
In your first pcap the pxe booting computer was uefi because it said it was type BC in dhcp option 93 or 94 (sorry old memory). That is what the dhcp server will use to determine which file name to send back to the client in the dhcp offer packet. In your case you have 3 dhcp servers all sending back undionly.kpxe, which will of course not be liked by a uefi system.
-
@george1421 ok i checked out the WIKI has anyone been able to do this for a 2008 server? this is what we are using for our dhcp server. if this has not been working what are any work arounds then?
-
@snaggel Ugh, 2008 that’s to 10 years ago…
There may be other options depending on what OS is running on your fog server. You could enable dnsmasq on the fog server to hand out the proper boot information.
You might want to explain why you have 3 dhcp servers replying to this one pxe booting client. This is typically not what you want to happen.
-
@george1421 agreed on the 10 years ago but it isnt up to me. my fog server is running centos 7. i will also be figuring out why those other 2 ip address are handing out dhcp as well
-
@snaggel OK for centos 7, there is dnsmasq version 2.76 available. That is the minimum version needed to support dynamic boot files.
I can understand having 2 dhcp server (primary and secondary) as long as each one doesn’t hand out the same IP address range. 3 is a bit strange.
If you want to go ahead with dnsmasq then I can take you down that path. One question, do you have multiple subnets at your location? dnsmasq (as well as dhcp) can only listen for dhcp request on the same subnet where the server is located. If you have multiple subnets then you will need to make an adjustment to the dhcp helper service on your subnet router. The setup is actually rather easy to do. The risks are if the fog server is powered off, then no pxe booting. That should’t be an issue if you are only using fog for pxe booting
-
@george1421 ok we do have 2 subnets. dhcp and static but both can communicate across each other. ping back and fourth. i talked to our network engineer here what he stated is those ip address 10.10.60.240 and 248 are not handing out dhcp. since we were connected to the core router and we were seeing other device asking through a switch which is what those address are. they were other switches. plus viewing traffic only on 66 67 69 ports will see that. again one dhcp server 2 subnets actually 3 for our phones. will this be an issue? im going to try the ipxe for the uefi one and see what happens as i wait for your reply.
-
@snaggel Ive been looking at your pcap file again and I do find what .240 and .248 are telling the client a bit suspicious. But if its working for you, who am I to say.
One last question. for the clients you want to image, will they be pxe booting on the 10.10.60.0/24 subnet or on another subnet?
-
@snaggel Tried the ipxe boot loader and was getting these errors. it did bring up the menu this is after i tried to register the host.
-
@Snaggel Please try connecting a dump mini switch between the client and your main network switch. Try again.
-
@sebastian-roth not sure if i have a dumb switch to test with