[pkg-dhcp-devel] Bug#603639: isc-dhcp-server shared network separate lease-time

Laszlo Fekete blackluck at ktk.bme.hu
Tue Nov 16 00:51:32 UTC 2010


Package: isc-dhcp-server
Version: 4.1.1-P1-12


I have shared networks with fixed and dynamic ip pools within the same
shared network and I want smaller lease time for dynamic ip-s, tried in
pool and subnet declaration but doesn't worked.



default-lease-time 43200;       # 1/2 day
max-lease-time 86400;           # 1 day
min-lease-time  600;            # 10 Minutes

shared-network "net2" {

        subnet 182.16.20.128 netmask 255.255.255.192 {
            pool {
                range 182.16.20.129 182.16.20.189;
                deny unknown-clients;
            }

                authoritative;

                option          broadcast-address 182.16.20.191;
                option          routers 182.16.20.190;
               
        }


        subnet 192.168.120.128 netmask 255.255.255.192 {
            pool {
                range 192.168.120.129 192.168.120.189;
                deny known-clients;

                default-lease-time      1800;
                max-lease-time          3600;
            }

                authoritative;

                deny duplicates;

                option          broadcast-address 192.168.120.191;
                option          routers 192.168.120.190;

        }
}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20101116/6106591d/attachment.pgp>


More information about the pkg-dhcp-devel mailing list