Classing clients by their Hardware Ethernet Address
Simon Hobson
dhcp1 at thehobsons.co.uk
Mon Jan 7 17:28:21 UTC 2008
Tarik Gasmi wrote:
>is it possible to class clients by matching the MAC-Address they are
>sending? I don't want to use the dhcp-client-identifier option for that
>purpose because a uge number of clients is served and i cannot be sure
>which type identification option they send in their message ...
>
>I later want to use this class to allow a specified group of clients to
>get dynamic addresses form a pool ...
>
>i would like to do it this way:
>
>
>*** snip ***
>class "some-clients" {
> match hardware ethernet; (and not: option dhcp-client-identifier)
>}
>subclass "some-clients" 00:00:aa:aa:aa:aa;
>subclass "some-clients" 00:01:bb:bb:bb:bb;
>subclass "some-clients" 00:02:cc:cc:cc:cc;
>subclass "some-clients" 00:03:dd:dd:dd:dd;
>subclass "some-clients" ...
>...
>*** snap ***
>
>and use it in a pool declaration
>
>*** snip ***
>pool {
> range ip1 ip2;
> allow members of "some-clients";
>}
>*** snap ***
You mean, JUST like the example in the man page !
I'm not aware of any better solution at the moment.
More information about the dhcp-users
mailing list