SV: conf size limits and functions / scripts / class possibilities

Karl Bloch Andersen kba at sydfynsel.dk
Mon Apr 3 08:19:50 UTC 2006


hi

Yes I really mean interfaces in the form of hardware units with relay agents with 32 to 128 circuit ids, but then again it depends on how you define interfaces :) 
And yes all with different subnets.


There's 2 of the following statements pr interface with only the first statement different

As Lars wrote earlier (Wednesday)

match if  packet ( (option agent.circuit-id) , 3,2)  = "21" AND

match if  packet ( (option agent.circuit-id) , 5,2)  = "01" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "02" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "03" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "04" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "05" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "06" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "07" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "08" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "09" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "10" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "11" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "12" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "13" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "14" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "15" OR
match if  packet ( (option agent.circuit-id) , 5,2)  = "16"
THEN
class = "class one"





/Karl Andersen

-----Oprindelig meddelelse-----
Fra: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] På vegne af Simon Hobson
Sendt: 31. marts 2006 18:25
Til: dhcp-users at isc.org
Emne: Re: conf size limits and functions / scripts / class possibilities

Karl Bloch Andersen wrote:

>The estimate is 1200 interfaces with at least 50 lines of conf for each.
>

Do you really mean interfaces, or do you means subnets ?

>
>1.
>Due to the Boolean logic and no possibilities to make loops (as far as I
>found out), I'm expecting to get a lot of dupe configuration in the
>different parts of the configuration.
>
>The thing is that lots of different interfaces (start of the circuit ID)
>with the same ending ID in groups repeating.

Can you give examples ? And if it's not obvious, what you have/are 
trying to achieve ?

>2.
>If there's no way to use functions / scripts / class what is the
>functional limit of conf entries?

I don't think anyone's found it yet ! We did have someone complaining 
of long startup times, but he had a pool with something like "range 
10.0.0.3 10.255.255.254" !

Simon




More information about the dhcp-users mailing list