multiple "match-values" in a subclass

Vijayakumar T. T. vijayt at
Thu Aug 9 04:52:30 UTC 2012

Dear All,

Thanks for your quick response...

As you mentioned, i tries doing the same and up in partialy sucess.
Am attaching dhcp configuration below kindly suggest the changes.

ignore client-updates;
update-static-leases on;
log-facility local6;
ddns-updates on;
ddns-update-style interim;
subnet netmask { #;
option routers;
default-lease-time 1800;
max-lease-time 2700;
key "rndc-key"{#;
algorithm hmac-md5;
secret "ZMuBAUkZcqucayG2u6IoRg==";}
class "extern" { match hardware; }
subclass "extern" 1:00:1e:ec:63:44:11;
option wpad code 252=text;
option subnet-mask;
option domain-name "";
option domain-name-servers;
option time-offset -18000;
option ntp-servers;
subnet netmask {
range dynamic-bootp;
pool {  range; allow members of "extern";  }
default-lease-time 300;
max-lease-time 360;
ddns-updates on;
zone {#;
key "rndc-key";}
zone {primary;         key "rndc-key"; 
option routers;
option subnet-mask;
option domain-name "";
option domain-name-servers;
option time-offset -18000;}

Observations are

1. When ever I connect using system having MAC address 
"00:1e:ec:63:44:11", i get an IP from "dynamic-bootp". Since this MAC falls in class "extern" the system should 
actualy get an IP from "range", which is not 
happening. Kindly suggest the changes required to acheive it.

2. If i delete "dynamic-bootp" statement in 
dhcp configuration , the system is taking IP address from "range" pool. Is that something to do with order of 
configuration line ???

3. The DDNS updation for the said MAC address also enabled in dhcp 
configuration.. Is it because of that the MAC address is not getting IP 
from range ""

Kindly help..


On Wed, 8 Aug 2012, Simon Hobson wrote:

> 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 avoided..??
>> 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.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at


This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.

More information about the dhcp-users mailing list