[Babel-users] IPv4 autoconfiguration

Juliusz Chroboczek jch at pps.jussieu.fr
Thu Feb 14 20:42:37 UTC 2008


Dear all,

With a lot of help from Julien and Grégoire, I've finally managed to
get IPv4 autoconfiguration to work in AHCP.

The approach is as follows.  An AHCP peer performs stateless
autoconfiguration as usual.  After it has established IPv6 routing, it
uses IPv6 unicast to contact a server that will lease him an IPv4
address, DHCP-style.

The stateful algorithm is deployed on the wifi.pps.jussieu.fr network,
and has been tested somewhat.  In order to use it, you will need Babel
0.8 or later, and the current head of ahcpd (Darcs repository version
dated 14 February 20:40 or later).  Then, simply run ahcpd and stare
in wonder.

In order to set up an automatically IPv4 network, you will need
a stateful server (fall-back servers are not implemented yet).  This
must be a machine with a disk.  Generate a new ahcp configuration
block specifying the IPv6 address of the stateful with the -s flag to
ahcp-generate.

On the stateful server, you must run ahcpd with the -S flag:

  ahcpd -S 10.0.0.1 10.0.0.254 /var/lib/ahcp-leases eth1

Please note that this functionality is experimental, and the protocol
might yet change in incompatible ways.

                                        Juliusz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/babel-users/attachments/20080214/7eb9ac14/attachment.pgp 


More information about the Babel-users mailing list