Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ISC DHCP / HTTP Issues
2018-12-28, 01:40
Post: #4
RE: ISC DHCP / HTTP Issues
Thank you both. So my config was indeed bad but the issue is actually bigger, you see, my modem is also acting forcefully as a DHCP server (because it has router functionality) and this was replying to the DNS requests in addition to my PXE server. I discovered this with wireshark (as suggested above)... it became evident quickly. Normal PXE is grabbing the right gateway and then loading the iPXE chainload but then iPXE is grabbing the details from the incorrect DHCP server.

As a result the second and final request for the file is replied to by both my ISC-DHCP and my modem's DHCP, and even though ISC-DHCP is set to authoritative, it's not given priority. I did not have this issue with DNSMasq because it was running as a ProxyDHCP which is something that ISC DHCP will not do. For other reasons I need to use ISC DHCP so for anyone with this issue, if you've got a DHCP server on your network then you can't just add a second DHCP server in the same subnet. You can use DNSMasq to handle the DNS Requests set to ProxyDHCP and it'll work fine with iPXE.

If you need to use another DNS server without ProxyDHCP support such as isc-dhcp then the best option appears to be using an embedded script in the chainloadable iPXE file which then does not even require a DHCP replies to proceed. This is the route I am currently taking, it seems like a far superior way to truly harness iPXE anyway!

Thanks everyone.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ISC DHCP / HTTP Issues - luis84 - 2018-12-26, 09:31
RE: ISC DHCP / HTTP Issues - NiKiZe - 2018-12-26, 11:47
RE: ISC DHCP / HTTP Issues - luis84 - 2018-12-28 01:40
RE: ISC DHCP / HTTP Issues - NiKiZe - 2018-12-28, 01:49
RE: ISC DHCP / HTTP Issues - luis84 - 2018-12-29, 05:58
RE: ISC DHCP / HTTP Issues - NiKiZe - 2018-12-29, 10:13



User(s) browsing this thread: 1 Guest(s)