On Friday 03 August 2012 11:08:37 Luca Pretto wrote:
Hi folks,
I really need a bit of your help! I've already spent a week on this and I can't succeed! :(
I'm going to install a small mesh (12 nodes, initially) covering my city and linking some friends of mine. At the moment the equipment (Ubiquiti) is already installed, structured as AP-STA (PSK2) in one large LAN (all connections bridged L2) with one central dhcp/firewall serving the 192.168.9.0/24 subnet (now that's all inside this net only).
I would like to migrate the topology to a routed network, where the wireless mesh nodes have IPs allocated inside 10.9.0.0/16, and below each one of these nodes there will be a local LAN with reserved subnet (IP offered by OpenWRT through dnsmasq). I've done some experiment with OLSRd and I got a working system that way, but I'd REALLY LOVE to use batman-adv instead. Some of the networks already have internet connectivity, that will be shared through the mesh to whom needs it.
10.9.11.1 <----> 192.168.11.0/24 --> 192.168.11.1 (internet gateway)
10.9.12.1 <----> 192.168.12.0/24
10.9.13.1 <----> 192.168.13.0/24 --> 192.168.13.1 (internet gateway)
10.9.14.1 <----> 192.168.14.0/24
10.9.xx.1 <----> 192.168.xx.0/24
Batman-adv will take care of the routing inside the wireless mesh (links " || " in the diagram). Anyway, I need that any host on the 192.168.xx.0/24 subnets will be able to talk to each other.
How can this be done with batman-adv?
First thing: batman-adv doesn't route (as in l3 routing). batman-adv creates a distributed switch on l2 (so, batman-adv does path finding). Therefore, batman-adv doesn't care about the l3 stuff.
And the stuff you've mentioned above is l3 stuff. So out of scope for batman- adv. Either you create static routes, use proxy arp or use another software that distributes the l3 routes.
Kind regards, Sven