iPXE discussion forum
Extend IP Pool - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Extend IP Pool (/showthread.php?tid=12632)



Extend IP Pool - remywiersma - 2018-07-24 12:40

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!


RE: Extend IP Pool - NiKiZe - 2018-07-24 16:43

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.