[Server-devel] Network addressing for activation-over-IBSS

Martin Langhoff martin.langhoff at gmail.com
Sun Feb 8 23:57:36 EST 2009


On Fri, Feb 6, 2009 at 3:31 PM, Daniel Drake <dsd at laptop.org> wrote:
> 2009/2/5 Martin Langhoff <martin.langhoff at gmail.com>:
>> Sure can do, and there is a related change other people have asked for
>> (free addresses for the APs themselves, so that the telnet or webbased
>> config UIs can be used).
>
> Great. Can you pick a range so that I can make the assignment locally too?

Done. The 'olpcxs-testing' repo now has an xs-config (0.6.0.4.g...)
that includes this commit. Should be good for your APs which need a
range for "administration" and activation.

http://dev.laptop.org/git?p=projects/xs-config;a=commitdiff;h=207a04421f9076a7986bd8f274849ac8dcf522d8


--- a/altfiles/etc/sysconfig/olpc-scripts/dhcpd.conf.1
+++ b/altfiles/etc/sysconfig/olpc-scripts/dhcpd.conf.1
@@ -12,8 +12,16 @@ subnet 172.18.96.0 netmask 255.255.224.0 {
        option routers                  172.18.96.1;
        option subnet-mask              255.255.224.0;
        option broadcast-address        172.18.127.255;
-       range                           172.18.96.2 172.18.127.254;
-
+       # this is the whole range we have available - 8K addresses
+       # range                           172.18.96.2 172.18.127.254;
+       # instead, we'll save 510 addresses for later.
+       range                           172.18.96.2 172.18.125.254;
+       # the other /24s:
+       # -> 172.18.126.0/24 for static IP addresses
+       #    for printers, AP management consoles, etc.
+       # -> 172.18.127.0/24 for temporary addresses for
+       #    XO activation
+
         # As this subnet is wired or wifi a/b/g, these lease
        #    times are on the long side
        default-lease-time      10800;

cheers,



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



More information about the Devel mailing list