pxe clients and pools
Brendan Kearney
bpk678 at gmail.com
Sat Oct 15 18:52:59 UTC 2016
On 10/15/2016 02:40 PM, Niall O'Reilly wrote:
>
> On 15 October 2016 19:17:59 GMT+01:00, Brendan Kearney <bpk678 at gmail.com> wrote:
>> Even if i were to clear the leases from the dhcp
>> servers, NM would still request an IP from the pxe client range.
>>
>> how can i manage this so that i can have pxe clients in the one pool
>> when needed, but once they are done building, they get an ip from an
>> appropriate pool, based on the criteria of that pool?
>>
> Class definitions aren't useful inside a pool. Move them out, and eliminate duplicates.
>
> You haven't set any criteria (allow/deny) in your pool definitions.
good point on the classes. did not know that. odd, though that any of
it works at all. when i am not in this odd ball scenario, the host
always gets an IP from the correct pool. is it just a happy accident,
or something else?
my concern is that the pxe build process results in an IP being
requested a couple of times, as i have been told. the pxe client makes
a request, and then the installer (anaconda, in my case) makes a
request. anytime after the pxe client makes the request, the vendor
classs identifier will not be the pxe client, and the installer will get
an IP from a pool not meant for pxe building.
More information about the dhcp-users
mailing list