Re: [B.A.T.M.A.N.] Migration to Batman

Mitar
2012-04-12T21:08:48Z

Hi!

On Thu, Apr 12, 2012 at 5:37 PM, Jernej Kos <k@jst.sm> wrote:
> Since from layer 3, the batman mesh looks just like a big LAN, any node
> could simply add a route saying "prefix A via gateway B dev bat0" where
> B is a mesh node known to batman via its L2 identifier, no?

So I have almost convinced Kostko that we could switch to Batman, but
he does not want to run multiple routing daemons on nodes. So could
Batman support announcing also L3 prefixes? For example, that in the
node configuration you could define that that node (let say it has IP
10.10.10.10) should announce also some L3 subnet. Like
192.168.42.0/24. And when that node would be reachable from other
node, that other node would run:

ip route add prefix 192.168.42.0/24 via gateway 10.10.10.10 dev bat0

Doable? Because to run additional routing daemon just to rediscover
which nodes are around and announce things ... when Batman already
knows all this ...

Mitar