From: Axel Neumann <axel@open-mesh.net>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] originator timeout
Date: Sun, 8 Jul 2007 17:34:07 +0200 [thread overview]
Message-ID: <200707081734.08354.axel@open-mesh.net> (raw)
In-Reply-To: <2bda28cd0707080503l202ce059j335115cfd2fcc52e@mail.gmail.com>
Hello Stefano,
On Sunday 08 July 2007 14:03, Stefano Scipioni wrote:
> > according to the log file node2 behaves correct (despite the thing that
> > node2 generates a route to node6 within the first two seconds). At some
> > point in time node2 purges node6 from its routing table because it could
> > never validate the link between interface 10.1.1.1 and 10.1.1.33 as a
> > bidirectional link. Can you generate another set of log files at node2
> > and node6 simultaneously? So that we can identify whether node2 simply
> > does not hear or node6 never re-broadcasts any originator messages (OGMs)
> > send by node2.
>
> They are in http://wifi.one-b.it/download/
The two log files from the above url say:
for node2:
[ 109405] Originator list
[ 109405] Originator Router (#/128): Potential routers
[ 109405] 10.1.1.20 10.1.1.20 ( 94): 10.1.1.20 ( 94) 10.1.1.10 ( 10)
[ 109406] 10.1.1.13 10.1.1.20 ( 59): 10.1.1.20 ( 59) 10.1.1.10 ( 29)
[ 109406] 10.1.1.10 10.1.1.10 (103): 10.1.1.10 (103) 10.1.1.20 ( 1)
[ 109406] 10.1.1.33 10.1.1.33 ( 94): 10.1.1.33 ( 94)
[ 109406] 10.0.1.1 10.0.1.1 (110): 10.0.1.1 (110)
and node6
[ 113951] Originator list
[ 113951] Originator Router (#/128): Potential routers
[ 113952] 10.1.1.20 10.1.1.1 ( 90): 10.1.1.1 ( 90)
[ 113952] 10.1.1.13 10.1.1.1 ( 61): 10.1.1.1 ( 61)
[ 113953] 10.1.1.10 10.1.1.1 ( 98): 10.1.1.1 ( 98)
[ 113953] 10.0.1.3 10.1.1.1 ( 99): 10.1.1.1 ( 99)
[ 113953] 10.0.1.1 10.1.1.1 ( 99): 10.1.1.1 ( 99)
[ 113954] 10.1.1.1 10.1.1.1 (100): 10.1.1.1 (100)
[ 113954] ---------------------------------------------- END DEBUG
So after ca 110 seconds everything seems perfect, none of the route entries is about to be purged
and (not like in your previous log file) node 2 received a total of 84 self-initiated
(and re-broadcest from node6) back OGMs from node6.
> I have disabled eth0.0 (batman only on interface wl0) on node2 and
> same behavior: after a while route to node6 disappear.
Thats strange, can you specify more precisely in which sense it dissapears?
Is it just the route (route -n) or does it also dissapear from the debug level
(batmand -c -d 1 -b)?
>
> I make another test with only 3 nodes: node2 with one interface (wl0),
> node6 and node3
>
>
>
> node2 (10.1.1.1) ------ node6 (10.1.1.33)
> \
> \--- node3 (10.1.1.10)
>
> After 2 minutes with "batmand -g 0 -r 2 -d 1 wl0" on all 3 nodes:
>
> node2
> 10.1.1.10 10.1.1.10 ( 67): 10.1.1.10 ( 67)
> 10.1.1.33 10.1.1.33 ( 21): 10.1.1.33 ( 21)
>
> node6
> 10.1.1.10 10.1.1.1 ( 66): 10.1.1.1 ( 66)
> 10.1.1.1 10.1.1.1 (120): 10.1.1.1 (120)
>
> node3
> 10.1.1.33 10.1.1.1 ( 20): 10.1.1.1 ( 20)
> 10.1.1.1 10.1.1.1 (121): 10.1.1.1 (121)
>
This, indeed looks like an
almost perfect link from node2 (10.1.1.1) -> node6 (10.1.1.33) and
a rather lossy link from node6 (10.1.1.33) -> node2 (10.1.1.1)
Perhaps the same reason as in your first log file from node 2.
However, the lines given above do not reveal any further secrets.
If the link is bidirectional using a grep on the traced node2-leve-4-debug like:
grep "NB: 10.1.1.33, IF: wl0 10.1.1.1 (from OG: 10.1.1.1," node2
should show you the moments from node2's point of view when it
was identified bidirectional. This should happen somhow regularly.
Also FYI, there is a quite useful pearl script which can help in analyzing
debug-level-4 outputs available at:
https://dev.open-mesh.net/svn/batman/trunk/batman-debug4.pl
> I suspect that batman does not hear some packets, maybe for wireless
> problems? _______________________________________________
Maybe - many wlan cards have problems with the ad-hoc mode. Iam often
experiencing problems with atheros cards which out of the sudden
cease sending for a while.
But then, the problem should be the same for olsr. If you want to verify that,
you can easily run both protocols in parallel (and use alias interfaces for batman)
and then always have a way to instantly compare between the two protocols.
much luck...
ciao,
axel
next prev parent reply other threads:[~2007-07-08 15:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-08 6:16 [B.A.T.M.A.N.] originator timeout Stefano Scipioni
2007-07-08 8:43 ` Axel Neumann
2007-07-08 9:31 ` Stefano Scipioni
2007-07-08 10:37 ` Axel Neumann
2007-07-08 12:03 ` Stefano Scipioni
2007-07-08 15:34 ` Axel Neumann [this message]
2007-07-15 12:43 ` [B.A.T.M.A.N.] B.A.T.M.A.N. in Mikrotik Router OS 3.0 - Meshing Made Easy elektra
2007-07-15 14:36 ` Alexander Morlang
2007-07-15 15:54 ` Daniel Poelzleithner
2007-07-16 7:06 ` Acinonyx
-- strict thread matches above, loose matches on Subject: below --
2007-07-09 16:42 [B.A.T.M.A.N.] originator timeout a.anselmi
2007-07-10 9:10 ` Axel Neumann
2007-07-08 6:06 Stefano Scipioni
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=200707081734.08354.axel@open-mesh.net \
--to=axel@open-mesh.net \
--cc=b.a.t.m.a.n@open-mesh.net \
/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