Skip to contentSkip to conversation

A few comments on the BATMAN routing protocol

B.A.T.M.A.N. Marek Lindner 1 participant 1 message Aug 6, 2008

lore
Share & tools
lore
#0 lore raw

Forgot the lists ...

Marek

Hi,

Quoted 1 line

thank you for your profound analysis!

many thanks ! We are very happy to see that our ideas encourage people to spend more time on thinking it through. We appreciate all kind of feedback. Although, I suggest to get in touch with the BATMAN developers earlier next time. We can answer questions much better and can comment on current development more precise than outsiders.

I agree to most of comments made by elektra. I want to add only a few more insights:

Quoted 5 lines
Quoted 4 lines

2. BATMAN does not contain any loop avoidance mechanisms; in the presence of so-called ``optimistic routing'', BATMAN may exhibit persistent routing loops. Even without optimistic routing, BATMAN will exhibit transitory routing loops.

Quoted 7 lines

In your example the route loops because the destination doesn't exist anymore, so there won't be any updates from this originator, hence the protocol may loop. I don't think that hurts much, because a looping route to a non-existing node is IMHO a minor problem. OK - we have some extra avoidable traffic in the network, that could have been avoided otherwise. So checking whether we forward exactly the same payload packet again and again with decremented TTL might be a good thing to add to the protocol.

The payload transport is not handled by BATMAN which "only" manipulates the routing table. This is handled by other mechanisms and protocols. TTL is one way to achieve that, that is why TCP & Co have them. No need to reinvent the wheel.
I think it is a good sign that you only found a loop towards a non-existent host. Other protocols should learn from us. ;-)

Quoted 2 lines
Quoted 2 lines

3. The metric used by BATMAN is not realistic, and will cause it to favour asymmetric links taken ``the wrong way''.

This is a known issue and has been publicly discussed since 09.01.2007:
https://list.open-mesh.net/pipermail/b.a.t.m.a.n/2007-January/000010.html

As mentionned by Elektra we already have a solution.

Keep up the good work,
Marek