iPXE as PXE servers discover tool
|
2017-11-03, 16:11
(This post was last modified: 2017-11-03 17:57 by pogarek.)
Post: #1
|
|||
|
|||
iPXE as PXE servers discover tool
Hi all
I have discovered iPXE today, so I'm quite new here.. :-) Very often I have a need to discover PXE servers within the LAN. I mean I need to know : * is pxe server coming via DHCP options 60, 66-67 and what these options are * is pxe server coming via local network (pxe and client are on the same network) * is pxe server coming via ipHelpers So, in short, I need a way to simulate a PXE request and analyze the answer. So far I have discovered, that booting a computer from ipxi.iso and performing: dhcp config => proxyDHCP gives me that information (at least in case, that DHCP, PXE Server and client are within the same subnet). However this doesn't work on UEFI computer. May I ask how can I accomplish that? Probably a properly deployed/configured Virtualbox VM with iPXE on it will do the tricks, that I need. So that I could a have simple , small , solution, that will do the diagnostic for UEFI and BIOS machines. Thank you in advanced and best regards |
|||
2017-11-04, 00:27
Post: #2
|
|||
|
|||
RE: iPXE as PXE servers discover tool
For efi just have your dhcp server give out a efi version of ipxe.
You can find prebuilt binaries at boot.ipxe.org and documentation for chainloading and detecting EFI vs legacy PCBIOS can be found at http://ipxe.org/howto/chainloading#uefi Use GitHub Discussions VRAM bin |
|||
2017-11-04, 00:35
Post: #3
|
|||
|
|||
RE: iPXE as PXE servers discover tool
The problem is that I don't have access to DHCP server. That is what I want to do : discover PXE/DHCP responses/offers for a port in switch to check if they are valid.
In the current environment there is a mess with PXE booting: wrong (probably) entries on iphelpers, incorrect 66-67 options etc. I want to nail it down - find what gives me the reply, what is in the reply, then I'll find owner of DHCP/PXE offer, I'll correct/disable it and repeat the procedure. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)