performance with 20000 classes; release a lease manually

Glenn Satchell Glenn.Satchell at uniq.com.au
Thu May 28 12:27:56 UTC 2009


>Date: Thu, 28 May 2009 14:19:17 +0200
>Subject: Re: performance with 20000 classes; release a lease manually
>From: stefan novak <lms.brubaker at gmail.com>
>To: Users of ISC DHCP <dhcp-users at lists.isc.org>
>X-BeenThere: dhcp-users at lists.isc.org
>
>thx for the replies..
>
>also
> match if binary-to-ascii(16, 8, ":",  option agent.remote-id) =
>"0:1e:69:ef:8e:b5";
>
>is equivalent to :
> match if option agent.remote-id = \00\1e\69\ef\8e\b5
>
>is not working for me...

No, the syntax requires it to be colon separated pairs of hex digits,
which just happens to look like a mac address.  Note no quotes around
the right hand side.

  match if option agent.remote-id = 0:1e:69:ef:8e:b5;

man dhcp-eval
     ...
     string

       A string, enclosed in quotes, may be specified as  a  data
       expression,  and  returns  the  text  between  the quotes,
       encoded in  ASCII.    The  backslash  ('\')  character  is
       treated  specially,  as  in C programming: '\t' means TAB,
       '\r' means carriage return, '\n' means newline,  and  '\b'
       means  bell.    Any  octal  value  can  be  specified with
       '\nnn', where nnn is any positive octal number  less  than
       0400.  Any hexadecimal value can be specified with '\xnn',
       where nn is any positive hexadecimal number less  than  or
       equal to 0xff.

     colon-separated hexadecimal list

       A list of hexadecimal octet values, separated  by  colons,
       may be specified as a data expression.

regards,
-glenn




More information about the dhcp-users mailing list