[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Extend dynamic DHCP range on the backbone network

At the moment there is a fairly low limit on the number of DHCP clients
handled on the backbone network.  The limit made sense when our backbone
network was, but now that it is it does not.

I propose to extend the dynamic range significantly, to allow sites to
have more than around 400 clients to 4000 clients.  I suspect 4000
clients would work out of the box with the new LDAP configuration, and
picked this as a good new range size.  If I got it right, this patch
will implement the change.

Index: debian/changelog
--- debian/changelog	(revisjon 75152)
+++ debian/changelog	(arbeidskopi)
@@ -4,6 +4,10 @@
   * Extend the dynamic DHCP range on the thin client network from 200-
     253 to 20-243, to handle more thin clients without any
+  * Extend the dynamic DHCP range on the backbone network from
+ to (aka,
+    to handle more clients without any changes to the configuration.
+    This allow around 4k clients to get IP addresses out of the box.
   * Fix wrong IP address for gateway GOsa object.
   [ Mike Gabriel ]
Index: ldap-bootstrap/dhcp.ldif
--- ldap-bootstrap/dhcp.ldif	(revisjon 75151)
+++ ldap-bootstrap/dhcp.ldif	(arbeidskopi)
@@ -50,7 +50,7 @@
 objectClass: top
 objectClass: dhcpSubnet
 dhcpNetMask: 8
 dn: cn=group1,cn=INTERNAL,cn=config,ou=dhcp,dc=skole,dc=skolelinux,dc=no
 cn: group1

To make it easier to use network access lists to control such DHCP
clients, I propose to put all of them in a separate netblock
(, where the netblock is fairly randomly choosen to be the
at the start of the next /16 after the addresses already used for

This change would allow sites like Narvik with 1400 clients to be able
to use the default backbone network setup out of the box with Squeeze.

Is /20 enough?  Should we put it somewhere else in  Last,
perhaps?  Or perhaps which is the next /20 after
Happy hacking
Petter Reinholdtsen

Reply to: