On Wed, May 27, 2009 at 5:39 PM, Benjamin Henrion bh@udev.org wrote:
On Wed, May 27, 2009 at 5:29 PM, Marek Lindner lindner_marek@yahoo.de wrote:
On Wednesday 27 May 2009 23:05:39 Benjamin Henrion wrote:
Right, that is still on open point on my ToDo. I'd like to automate that if possible but did not have a good idea how to do that.
When a packet comes from the same interface, add a cost it.
Thats a bit too brief for me. Would you mind being more verbose ? :-)
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.
I say "wireless" in this case because "wired" is usually full duplex and not half duplex. Half duplex makes the situation worse for the reasons I explained here:
http://hackerspace.be/wbm2009#toc9
Hopping over the same radio means:
* dividing the bandwidth by two at each hop and * choosing the worst radio link of your two neighboors