host-identifier with IPv6

David W. Hankins David_Hankins at isc.org
Wed Mar 4 19:53:38 UTC 2009


On Wed, Mar 04, 2009 at 12:36:12PM -0700, Ted Lemon wrote:
> Hm, can't you just use substring on the DUID option?

RTFM!  Also, suffix() would be easier.

The host-identifier parses an option statement, not an arbitrary
data expression, because checking arbitrary data expressions for
identicality was too hard for the first release (and we need to
have one hash table for all host lookups along a given key value).

So 'host-identifier option [name] [value];' is currently the only
valid syntax, and the only way to match host records (example
given uses the DUID).

We could solve the original feature request by writing a method to
assign a host-identifier hash slot to any arbitrary data expression,
that has crossed my mind.

-- 
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/20090304/03e76b80/attachment.bin>


More information about the dhcp-users mailing list