performance with 20000 classes; release a lease manually

stefan novak lms.brubaker at gmail.com
Wed May 27 15:59:58 UTC 2009


Hello!


My config is very simple and works as expected.
The client behind the cable modem always gets the fixed address. is
this config scaleable to 20000 classes, or is there another way to
configure such a scenario.

My secound question is about the dhcpd.lease file. is it possible to
release an already taken lease?
that if the client behind the cable modem changes, the ip is assigned
to the new client. is that possible? setting the lease time to 5min.
seams not the solution for many many clients.....

dhcpd.conf:
class "customer1" {
         match if binary-to-ascii(16, 8, ":",  option agent.remote-id
) = "0:1e:69:ef:8e:b5"; # <- Modem Mac
         lease limit 1;
}

shared-network test{

subnet 10.62.31.0 netmask 255.255.255.0 {
        option routers 10.62.31.1;
        option broadcast-address 10.62.31.255;
        option time-servers 172.55.55.55;

  host testmodem1 { hardware ethernet 00:1e:69:ef:8e:b5; fixed-address
10.62.31.2; filename "test1.cfg";}
}

subnet xx.62.31.0 netmask 255.255.255.0 {
        option routers xx.62.31.1;
        option broadcast-address xx.62.31.255;

        pool {
                allow members of "customer1";
                range xx.62.31.15 xx.62.31.15;
        }
        pool {
                deny members of "customer1";
                range xx.62.31.2 xx.62.31.10;
        }
}

thx Stefan



More information about the dhcp-users mailing list