vendor-encapsulated-options and Scope
Reissom Beshir
Reissom_Beshir at Mitel.com
Thu Dec 11 19:15:11 UTC 2008
David W. Hankins wrote:
>> I believe you can define one class and use subclass statements in the
>> subnet scope. So your config would be as follows.
>
> No, that doesn't work either. The subclasses are just attached to
> the class in a hash table, which is again searched globally.
That is concerning for me when configuring option 43 in general. There is
another alternative using the conditional if statement on the vendor class
option.
subnet a.b.c.d netmask 255.255.255.0 {
if option vendor-class-identifier = "Cisco AP c1200" {
option vendor-class-identifier "Cisco AP c1200";
option vendor-encapsulated-options f1:02:ac:11:8e:36;
}
elsif option vendor-class-identifier = "Cisco AP c1240" {
option vendor-class-identifier "Cisco AP c1240";
option vendor-encapsulated-options f1:02:ac:11:8e:36;
}
.. etc.
}
Would that work better for scoping?
--
Reissom Beshir
Mitel Networks
More information about the dhcp-users
mailing list