On 04/13/2012 05:41 AM, Mitar wrote:
Hi!
On Fri, Apr 13, 2012 at 10:15 AM, Andrew Lunn andrew@lunn.ch wrote:
How many subnets do you think you will have? Are they all using classful networks or classless network?
Probably not much. At most 10 % of nodes would announce their home subnets too. But we should support also classless networks.
I'm curious as to why those nodes wouldn't use the same IP address space as the net if they will be announcing their routes to the mesh anyway.
One thing to be aware of is that when a home network (on a different subnet) is connected to the batman mesh you get some side-effects, like for example an in-house router responding to DHCP requests... It happens here in QuintanaLibre where one user has a router with 2 IPs, one for the house network and another for the mesh and DHCP server enabled using the home net address space, which sometimes "leak" to a client in the mesh.
I understand the batman-adv mesh works almost as one big switch, so it makes sense that this router will answer for requests... but at first I could not understand what was happening.
One other suggestion, for VPN is to take a look at Tinc; it has a routing (or router?) mode which might be useful in your case.
quagga is a well used suite of routing protocols. http://www.nongnu.org/quagga/
If I understand correctly, this would allow us also easier peering with other networks as quagga supports also redistribution of routes and so on. So if we decide for OSPF, it will be easy also to setup BGP on border nodes within the single daemon, no?
How CPU and memory heavy it is to run it on consumer routers like TP-links and so on? Probably depends on number of routes and not on itself? But is there a big penalty of running it on all nodes?
Mitar