public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: "Elektra Elektra" <onelektra@gmx.net>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@open-mesh.net>,
	Juliusz.Chroboczek@pps.jussieu.fr
Cc: b.a.t.m.a.n@open-mesh.net, elektra@open-mesh.net,
	siwu@hrz.tu-chemnitz.de, olsr-users@lists.olsr.org,
	babel-users@lists.alioth.debian.org, lindner_marek@yahoo.de,
	roman@steinerweb.at
Subject: Re: [B.A.T.M.A.N.] Re: A few comments on the BATMAN routing protocol
Date: Thu, 07 Aug 2008 11:45:18 +0200	[thread overview]
Message-ID: <20080807094518.56620@gmx.net> (raw)
In-Reply-To: <200808061520.59927.axel@open-mesh.net>

Hello Juliusz!

Axel and Simon are right,  in the situation you have described the protocol wouldn't loop. It is a broken route.

> > S crashes, and A switches to B as its next hop for S.  At this point,
> > B is still using A as its next hop, so we have a temporary routing loop.

If S crashes A and B are not going to change their routing tables anymore - since S doesn't send any OGMs anymore which could trigger a change in the routing tables of A and B. So A and B stay put until the garbage collector purges the broken route. The assumption that A switches to B is false. 

The reason why I believe that Batman is loop free is, that routes are updated upon receiving OGMs from the best ranking next hop. The best ranking next hop knows the best route better than me, because its likelihood of receiving OGMs is greater than the local likelihood. If a locally received OGM - received via the best ranking neighbor - triggers an update it is granted that the best ranking next hop is already informed - naturally,,, So the chain of potential forwarders is loop free until the destination. 

This is particularly so because the current implementations are sequence number based, rather than using timers. This is granting that temporary loops can't occur - which could happen if timers could occasionally trigger purges that are not synced.   

This is consistent with the test results of Batman-Experimental at Meraka in a physical 49-node grid. I did some inital tests there on the 4 longest possible routes in the grid (from each corner to each opposite corner, from each center of side to center of opposite side) at -30 dBm transmit power, -30dbm receive attenuation. 4 simultaneous traffic streams were saturating the capacity of these routes, all colliding in the center of the grid. Links were very weak, with high packet loss to single hop neighbors even when the whole network was idle. So a round trip from corner to corner often took 12 - 15 hops. 

Under no circumstances did the protocol loop. Also we did run a long series of tests with Batman-EXP and OLSR with ETX and Fisheye enabled, that David Johnson had previously used to compare mesh routing protocols, like AODV, DART, OLSR-RFC, OLSR with ETX .

http://wirelessafrica.meraka.org.za/wiki/images/9/98/Batman_ifip.pdf

cu elektra




-- 
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03

  reply	other threads:[~2008-08-07  9:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7itzdzzero.fsf@lanthane.pps.jussieu.fr>
2008-08-06  8:10 ` [B.A.T.M.A.N.] Re: A few comments on the BATMAN routing protocol Simon Wunderlich
2008-08-06 13:20 ` Axel Neumann
2008-08-07  9:45   ` Elektra Elektra [this message]
2008-08-08  0:12   ` elektra
2008-08-08 17:25   ` Axel Neumann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080807094518.56620@gmx.net \
    --to=onelektra@gmx.net \
    --cc=Juliusz.Chroboczek@pps.jussieu.fr \
    --cc=b.a.t.m.a.n@open-mesh.net \
    --cc=babel-users@lists.alioth.debian.org \
    --cc=elektra@open-mesh.net \
    --cc=lindner_marek@yahoo.de \
    --cc=olsr-users@lists.olsr.org \
    --cc=roman@steinerweb.at \
    --cc=siwu@hrz.tu-chemnitz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox