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

Mitar
2012-04-12T17:19:32Z

Hi!

On Thu, Apr 12, 2012 at 5:37 PM, Jernej Kos <k@jst.sm> wrote:
> Wouldn't just need something like an announce mechanism so each node
> would add an L3 route to the gateway announcing the said prefix?

One way could be arp proxy. So that border node would pretend to hold
all IPs of subnet behind it and reply with its own MAC address for all
those IPs. Once packets gets there is then routed behind. I have been
playing with this once and it does work.

https://en.wikipedia.org/wiki/Proxy_ARP

> 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 we would just need some other L3 routing protocol on top of
batman-adv, without any need of knowing the wireless infrastructure,
only to configure dynamically those announcements on all nodes, no? So
that when gateway B appears, that all nodes add its prefix A to their
L3 routing tables?

Mitar