Let's say a packet comes from node A interface ath0 of node B, and there is a route on node B for the packet to go to node C, route which use the same interface ath0. In this case, you might want to add a cost to hop over the same wireless interface.
Ok, good idea. I quickly made a patch: http://www.open-mesh.net/changeset/1276
Feel free to test it. :-)
Regards, Marek
But how would batman choose the next hop if at every node there are two interfaces available. The ideal ofcourse would be 11a->11b->11a->11b->11a on each hop.
Regards
Kartik
On Thursday 28 May 2009 13:17:04 Kartik Muralidharan wrote:
But how would batman choose the next hop if at every node there are two interfaces available. The ideal ofcourse would be 11a->11b->11a->11b->11a on each hop.
If all nodes have 2 interfaces its hard to predict whether it will be: 11a->11b->11a->11b->11a or 11b->11a->11b->11a->11b
If the link qualities are all equal batman we choose the fastest path (lowest latency).
Regards, Marek
b.a.t.m.a.n@lists.open-mesh.org