[Babel-users] Ahcpd update in OpenWrt (quick HOWTO)

Gabriel Kerneis kerneis at pps.jussieu.fr
Mon May 31 18:52:25 UTC 2010


On Mon, May 31, 2010 at 05:55:27PM +0200, Mitar wrote:
> On Mon, May 31, 2010 at 2:46 PM, Gabriel Kerneis <kerneis at pps.jussieu.fr> wrote:
> > Choose one of your stations to act as an ahcpd server.
> 
> What happens if there is a network split?

You ought to be on the good half of the split ;-)

More seriously, you can have as many servers as you like, but be aware
that:
1° the client will pick ONE server (the closest) and get every
   information from it. Consequence: you cannot use one server to
   distribute ip addresses and another one to distribute the dns and
   ntp servers.
2° the client will try to stick with one server as much as possible. If
   this server is unavailable when the lease expires, it will look for
   another one.
3° as a consequence, if you want to have several servers, you should:
   - duplicate the ipv6, dns and ntp fields on every server,
   - split your ipv4 address range in n (where n = your number of
     servers) and make each one distribute leases for (1/n)th of the
     range.  This is due to the lack of synchronisation between the ahcp
     servers (necessary to survive a network split).

Regards,
-- 
Gabriel Kerneis



More information about the Babel-users mailing list