I am switching a 20 mesh node from olsrd but I have some problem in routing.
I have no gateway node because I use openvpn to have a tunnel with PC.
All nodes have:
  batman -g 0 -r 3 -o 3000 <interface>

node C has:
  batman -g 0 -r 3 -o 3000 -a 10.0.0.0/24 <interface>

I have several case like this:

A----good----B----good-----C-----10.0.0.0/24----PC
\---------------poor-------------/

three node can communicate with all others but radio link from A to C is poor.

When node A want to communicate to node C it goes directly to C because batman calculate a direct route to it.
But if I manually set routes to use node B connection from A to C is good.

What is my mistake?

-r parameter in batmand daemon works only in searching gateway node? ...or it works every time, also with normal node?