iPXE discussion forum

Full Version: Extend IP Pool
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,

Due an issue (runinng out of IP's) I have I would like to extend the IP pool of my Linux Ubuntu iPXE server. Now I have the range of 10.10.1.5 to 10.10.1.254
If possible I would like to add a whole new range in second subnet like: 10.10.2.1 to 10.10.2.254

This is how the bottom part of dhcpd.conf looks at this moment:
Code:
subnet 10.10.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.1.255;
option routers 10.10.1.1;
option domain-name-servers 10.10.1.1;
range 10.10.1.5 10.10.1.254;
if exists user-class and option user-class = "iPXE" {
      filename "boot.ipxe";
  } else {
      filename "undionly.kpxe";
  }
  }

I have been trying almost all possible options, but all will stop DHCP service.

Any kind of help would be great!
You might be able to add a filter so that this range is in a user-class iPXE or PXEClient vendor, and then maybe add a bunch of filters to have the correct range used.
But that is mostly just a bad solution.

Also remember that the DHCP server needs to have an IP in that range, or it should be called via dhcp-relay.
And finally do check the logs and explain in details what is not working.
Reference URL's