multiple "match-values" in a subclass

Simon Hobson dhcp1 at
Wed Aug 8 10:59:10 UTC 2012

Vijayakumar T. T. wrote:

>Please let me know how I can add multiple "match-values" in a 
>subclass decleration. My aim is to specify as much as MAC address in 
>subclass defenition, how it can be acheived ?? My current class and 
>sub-class defenition are as below but here i was only able to define 
>ONE MAC address per subclass. And in this case if i need to specify 
>1000 MACs then I should have 1000 subclass statement...How it can be 
>class "" { match hardware; };
>subclass "" 1:00:1e:ec:63:44:11;

You just add additional subclass statements :
class "" { match hardware; };
subclass "" 1:00:1e:ec:63:44:11;
subclass "" 1:...;
subclass "" 1:...;
subclass "" 1:...;

putting a different mac address in each one.
That's the whole point of the subclass construct.

Simon Hobson

Visit for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

More information about the dhcp-users mailing list