Cant boot to fog UEFI or Legacy
-
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
-
@snaggel im able to get to the menu but now if i try to register it i get the error below.![alt text]( image url) i did rum the compatibility checker all was good. the only thing i noticed is i did not have an ip address.
-
@snaggel I would say that:
- If your FOG server is at ip address 10.10.60.17 AND…
- The fog server is pingable from the subnet where the PXE booting computer is located AND…
- You only have one network adapter in this computer…
My intuition is telling me that you have a spanning tree issue. This is where you have spanning tree enabled on your building switch but you are not using one of the fast spanning tree protoocls like (fast-STP, RSTP, MSTP, or what ever your switch mfg calls it).
As a quick check for spanning tree, place an unmanaged (dumb switch) between the pxe booting computer and the building switch and see if booting works normally.