After playing with bmx6 for a while I thought I'd look more into babel. I've been trying to figure out what we'd need in order to use babel for the firmware. Here are my thoughts:
Each node has an IPv4 subnet and an IPv6 subnet.
The IPv4 subnet is assigned using makenode.
The IPv6 subnet is assigned using makenode, randomly using
generate-ipv6-address from http://www.pps.univ-paris-diderot.fr/~jch/software/files/
If tunneldigger succeeds in establishing a tunnel, the node becomes an internet gateway and announces its route to the internet using:
babeld -C 'redistribute if eth0 metric 128' mesh0