Can you add a class match with omshell?

David W. Hankins David_Hankins at isc.org
Tue Jan 6 22:16:16 UTC 2009


On Mon, Jan 05, 2009 at 02:02:32PM -0600, Marc Perea wrote:
> class "my.1st-class" { match if (option agent.circuit-id = "my.1st-class"); }

Should be possible, but I'm hazy on the how-to details.

The dynamic class stuff was mostly a collection of sources I found on
HEAD from my predecessor when I moved to start DHCP 3.1.  I had to
muck with them to some extent (some edges were unfinished), but I
don't really remember a lot about them.

> pool { authoritative; allow members of "my.1st-class"; range 10.0.0.50; }

Not currently possible.  Dynamic ranges can't be edited at runtime.

I'm not even sure if you can use ACL matches on dynamic classes if you
entered this in static config.  I can't remember if ACL's remeber the
class name, or take a reference to the class.

-- 
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: 197 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090106/c0b1c1af/attachment-0001.bin>


More information about the dhcp-users mailing list