[Battlemesh] ipv6 prefix delegation in layer 3 mesh networks

Henning Rogge hrogge at gmail.com
Tue Apr 5 13:18:23 CEST 2016

On Tue, Apr 5, 2016 at 12:47 PM, Robert Mader <robert.mader at fu-berlin.de> wrote:
> Hello everyone,
> this is a email in reply on the following thread:
> http://ml.ninux.org/pipermail/battlemesh/2016-February/004362.html
> I would like to set up a small testing network to test HNCP within a
> mesh network.
> Henning posted this small example how to set it up:
> http://www.pps.univ-paris-diderot.fr/~jch/software/homenet/
> My network looks like this (if it's displayed wrong for you, here's a
> picture http://picpaste.com/network-itXxrTsw.png):
>         internet        internet
>           |                |
>         gateway0        gateway1
>                 \       /
>                 --node0--
>                 /       \
>         --node1--       -node2-
> gateway0 has the prefix 2000:1::/56, gateway1 2000:2::/56
> My question is now:
> - how do I configure the gateways to delegate a subprefixes to node0
> (using hnet)?

I think there are "two ways"...

easiest way is if gateway0/1 are homenet nodes on their own... they
just "export" the locally known prefix.

the other way which Homenet describes is DHCPv6 with prefix
delegation. It is meant for providers to push a prefix to the "client
router"... and the Homenet agent could export it.

> node0 should in turn delegate ip-addresses to the non-hnet
> speaking nodes 1 and 2

normally HNCP uses DHCP(v6) and/or router advertisement to push
prefixes to non-Homenet devices (e.g. locally attached ethernet).

> - is it possible to use hnet with olsr2 atm?

I would guess it is possible (olsrd2 can export routing table entries
based on protocol or interface, which is the same mechanism Babel
uses), but most likely the current configuration would have to be


More information about the Battlemesh mailing list