performance with 20000 classes; release a lease manually

Marc Perea marccp at srttel.com
Tue Jun 16 15:24:06 UTC 2009


>won't work...
>
>/etc/dhcp3/dhcpd.conf line 168: pool declared outside of network

I'm using v3.11 and 3.12, both allow me to do the following:

if exists agent.circuit-id {
        log(info,concat(binary-to-ascii(10,8,".",leased-address)," ASSIGNED TO AGENT.CIRCUIT-ID => ",option agent.circuit-id));
}
##### BEGIN CUSTOMER CLASS DEFINITIONS #####
class "10.44.50.116:1-6-14-0-adsl-0-35-614" { match if (option agent.circuit-id = "10.44.50.116:1-6-14-0-adsl-0-35-614"); }#customer 12345
#### END CUSTOMER CLASS DEFINITIONS #####
shared-network "my-network" {
        subnet 74.207.128.0 netmask 255.255.192.0 {
                authoritative;
                option routers 74.207.128.1;
                option subnet-mask 255.255.192.0;
                option broadcast-address 74.207.191.255;
        ##### BEGIN CUSTOMER DEFINITIONS #####
pool { authoritative; allow members of "10.44.50.116:1-6-14-0-adsl-0-35-614"; range 74.207.133.244; }#customer 12345
}

Hope that helps!

Marc Perea
IT Engineer
SRT Communications, Inc.
(701)858-5235
marccp at srttel.com





More information about the dhcp-users mailing list