vendor-encapsulated-options and Scope
David W. Hankins
David_Hankins at isc.org
Thu Dec 11 18:48:15 UTC 2008
On Thu, Dec 11, 2008 at 01:29:48PM -0500, Reissom Beshir 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.
But you can use a global class statement to select a vendor class,
and scope vendor class configuration at a subnet level.
ex;
option space foo hash size 3;
option foo.bar code 1 = unsigned integer 8;
class "foo" {
match if option vendor-class-identifier = "foo";
vendor-option-space foo;
}
subnet a.b.c.d netmask 255.255.255.0 {
option foo.bar 42;
}
Of course this means you'd have to stop trying to use raw hex to
configure the vendor class options, which may be a barrier to
entry.
--
Ash bugud-gul durbatuluk agh burzum-ishi krimpatul.
Why settle for the lesser evil? https://secure.isc.org/store/t-shirt/
--
David W. Hankins "If you don't do it right the first time,
Software Engineer you'll just have to do it again."
Internet Systems Consortium, Inc. -- Jack T. Hankins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20081211/83796d0e/attachment.bin>
More information about the dhcp-users
mailing list