1833017 Members
2373 Online
110048 Solutions
New Discussion

DHCP configuration

 
jpcast_real
Regular Advisor

DHCP configuration

Hello ,

I have created a couple of pools in my dchp configuration file . My problem is that a want to select a list of MACs which has the capability to get an IP of each one of this pools . I know how to deny the access to dhcp , dhcpdeny , but I do not know how to configure a way to autheticate MACs to one or to other pool.

Thanks a lot
Here rests one who was not what he wanted and didn't want what he was
1 REPLY 1
Jeff_Traigle
Honored Contributor

Re: DHCP configuration

Hmmm... interesting requirement, but I can see how it could arise. Obviously, configuring these in bootptab instead is an option, but requires assigning a specific address to them. There's no option in dhcptab that I see mentioned in bootpd(1M) for restricting to certain hardware addresses. You might be able to utilize the call-on-assignment option to call a script you write to check the HA, but I'm not sure how you would force retiring the lease at that point if it got assigned from the undesired pool... dhcptools removes the lease from the server, but, since the client already has an address at that point, you could end up with an IP address conflict. Other than that, I don't see any way to do this offhand.
--
Jeff Traigle