Retaining information between DHCP requests

Bill Shirley Bill at Henagar.PolymerIndustries.biz
Thu Oct 9 17:35:34 UTC 2014


On 10/9/2014 1:14 PM, CLOSE Dave wrote:
> Bill Shirley wrote:
>
>> Are you able to set up a separate subnet for kickstart boots? If so,
>> I have an idea that may work for you.
> No, I don't think I can do that. The subnets are allocated and
> controlled by a different group. In any case, how would PXE know to use
> the different subnet?

Something like:

class "kickstart" {
         match if substring(option vendor-class-identifier, 0, 9) = "kickstart";
         option domain-name      "kickstart.example.com";
         option ddns-domainname "kickstart.example.com";
}
host pxe-1                {hardware ethernet 00:19:d1:72:d1:d7; fixed-address 10.0.2.20;}

shared-network example-com {
     subnet 10.0.1.0 netmask 255.255.255.0 {
         option domain-name-servers    10.1.0.1;
          pool {
                  allow members of "kickstart";
                  deny dynamic bootp clients;
                  range 10.0.1.100         10.0.1.253;
           }
.
.
     }
     subnet 10.0.2.0 netmask 255.255.255.0 {
         option domain-name-servers    10.2.0.1;
          pool {
                  deny dynamic bootp clients;
                  range 10.0.2.100         10.0.2.253;
          }
.
.
     }
}

I don't have a way to test it, but I think it would work.  If there is a class match, DHCP should use the first subnet 
else the host fixed address.

Bill

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20141009/30567fdf/attachment.html>


More information about the dhcp-users mailing list