The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ISC DHCP / HTTP Issues
2018-12-26, 09:31
Post: #1
ISC DHCP / HTTP Issues
Hi everyone,

To preface, i had my setup working fine with dnsmasq and ipxe via debian. However, dnsmasq is not usable for other scenarios specific to me so I switched over to ISC DHCP.

Following the chainload example, I am using the user-class to to prevent boot loops however it seems the file is not being handled out correctly and I do not understand why, maybe somebody could help or take a look at my config?

Currently what occurs:
-Client boots and runs PXE
-DHCP assigns correctly
-IPXE is loaded
-IPXE configures net0 properly
-IPXE displays "Nothing to boot: No such file or directory"

and my /etc/dhcp/dhcpd.conf is as follows:
Code:
default-lease-time 600;
max-lease-time 7200;

allow booting;

subnet 10.0.0.0 netmask 255.255.255.0 {
  range 10.0.0.81 10.0.0.100;
  option broadcast-address 10.0.0.255;
  option routers 10.0.0.1;             # our router
  option domain-name-servers 10.0.0.1; # our router, again
  if exists user-class and option user-class = "iPXE" {
      filename "undionly.kxpe";
  } else {
      filename "undionly.kpxe";
  }
}

based on what I can see it almost seems like iPXE is not getting the http path to the file however it's also not falling into an infinite loop so it's not reading the filename directive a second time. I am guessing this is a dumb configuration mistake on my behalf, I'd appreciate any help.
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)