How to by DHCP fingerprint assigned address pool
Chris Buxton
clists at buxtonfamily.us
Wed Sep 4 16:04:04 UTC 2013
On Sep 4, 2013, at 12:30 AM, huan_ji(戢欢_WU) <huan_ji at cn.synnex-grp.com> wrote:
> Dear,All
>
> I want to achieve the DHCP assigned address according to DHCP client's fingerprint
>
> Here is my config:
>
> class "HTC-Android" {
> match if option dhcp-parameter-request-list = "1,121,33,3,28,51,58,59";
> }
>
> class "WIN7" {
> match if option dhcp-parameter-request-list = "1,15,3,6,44,46,47,31,33,121,249,43";
> }
>
> shared-network test {
> subnet 10.141.255.0 netmask 255.255.255.0 {
> option domain-name-servers 218.197.119.221,202.114.88.10;
> option routers 10.141.255.254;
> default-lease-time 300;
> max-lease-time 1800;}
> pool {deny members of "WIN7";
> allow members of "HTC-Android";
> range 10.141.255.222;}
>
> pool {deny members of "HTC-Android";
> deny members of "WIN7";
> range 10.141.255.223 10.141.255.227;
> }
> pool {allow members of "WIN7";
> deny members of "HTC-Android";
> range 10.141.255.228;}
> }
>
> But now, this configuration was a failure ,please help me.
Do not mix 'allow' and 'deny'.
pool {
allow members of "HTC-Android";
range 10.141.255.222;
}
pool {
deny members of "HTC-Android";
deny members of "WIN7";
range 10.141.255.223 10.141.255.227;
}
pool {
allow members of "WIN7";
range 10.141.255.228;
}
Then, assuming your class match statements are correct, it should work.
Regards,
Chris Buxton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20130904/8cf73874/attachment.html>
More information about the dhcp-users
mailing list