On Wednesday 29 September 2010 22:44:36 Magosányi Árpád wrote:
I am using OpenWrt Backfire.
Ok.
One sign that I am using nonstandard setting is that a non-batman node will end up in a throw route of the batman nodes. But if it should work without firewall, then I will be happy with my current setup.
A throw route is no problem by itself. It only means that the Linux kernel will leave the current table to check the next one for a suitable routing entry.
If you are interested in understanding the routing techniques used by batman: http://www.open-mesh.org/wiki/RoutingVodoo
What I am seeing is that traffic from local wifi net does not "go down" to the tunnels, but goes through the batman nodes untunneled. Maybe I have to set up some routes from the local wifi net? For your reference here is the network setup again (N is the node number, ip of the node/netmask len): backbone batman network: 10.42.0.N/24 (for batman nodes) local wifi net: 10.42.N.1/24 (for non-batman users, dhcp served from the node in force mode) local lan: 10.43.N.1/24 (for wired users, DHCP served from the node)
Does each node announce the "local wifi net" via HNA ? You will need these announcements to make the routing towards this addresses work. As soon as batmand knows that it is responsible for a certain IP address space it will add the appropriate routing entries for you. Again, we have a document describing the process: http://www.open-mesh.org/wiki/AnnouncingNetworks
Páty, Hungary. We are experimenting with participatory democracy, and this is one of the side effects:)
Cool! Good luck with your experiments. :-)
Regards, Marek