[CentOS] OT: DHCP address pool for specific MAC manufacturer
Raymond Lillard
ryl at sonic.net
Thu Jun 23 18:25:35 UTC 2011
On 06/23/2011 06:29 AM, Steven Tardy wrote:
> did something similar recently...
>
> dhcpd.conf
> --------------------------------------------------------------------------
> class "VMware" { match if ( substring(hardware,1,3) = 00:50:56 ); }
> subnet 10.1.1.224 netmask 255.255.255.240 {
> #other subnet specific stuff here
> pool { allow members of "VMware"; range 10.1.1.229 10.1.1.230; }
> pool { deny members of "VMware"; range 10.1.1.236 10.1.1.237; }
> }
> --------------------------------------------------------------------------
>
> On 06/22/11 21:44, Raymond Lillard wrote:
>> Dear CentOS,
>>
>> This is somewhat off-topic, but I do hope to implement this on
>> a CentOS system, so here goes...
>>
>> I would like to be able to setup a dhcpd (or like) daemon to
>> maintain two IP address pools. One for devices whose leading
>> three octets of the client MAC address are specified and the
>> other for all other clients. Both pools would be a defined
>> range on a commmon /24 subnet. There a several static IP
>> devices also on this net (servers, printer, etc...). At no
>> time would there be more than a dozen of the specified MAC
>> range devices active.
Sorry for the noise. When I looked at dhcp, it was on a machine
with a seriously out-of-date version.
Thanks,
Ray
More information about the CentOS
mailing list