All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] batman majareta? I can batctl ping but not ping
@ 2012-07-02 13:30 Guido Iribarren
  2012-07-02 13:57 ` Guido Iribarren
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Guido Iribarren @ 2012-07-02 13:30 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

[-- Attachment #1: Type: text/plain, Size: 2635 bytes --]

(which roughly translates as "batman gone nuts?")
Hey great devs!
we've been having a particular issue in deltalibre and quintanalibre
(local WCN) with batman-adv, but so far we haven't found a precise way
to reproduce it.
The symptom is that (after some reboots or physical displacements?)
one batman-adv host becomes unreachable on layer3, although it is seen
on originators table, and can be batctl ping'ed or batctl tracerout'ed
with no problem whatsoever.

Even more, it not unreachable from the whole network, but instead from
just a few other nodes. So, let's say that the nearer nodes can layer3
ping it , but some others farther away cannot (although i can't assure
it depends on the hop distance)
All of them can batctl ping it (layer2)
A hard reboot of all the nodes solves it, connectivity is restored in
all directions.

Thing is, I've just came across it again, and managed to do some tests
to aid in description / debugging
As an aid in understanding network topology,
I'm attaching the wonderful output of "batctl vd dot |grep -v TT" for
your viewing delight

problem node is ana
it can be reached from ruth and hquilla (direct neighbours)
but arping behaves erratically from colmena or charly
and normal ping (v4 or v6) doesn't receive any reply at all when run
from colmena or charly

I used arping, with and without -b , and seemed like i could narrow
the problem down to incoming broadcast packet handling, but further
tests just left me more puzzled!

all nodes are tl-mr3220 running openwrt trunk r31316 with batman-adv
2012.2.0 , driver ath9k
secondary interfaces named _wlan1 are all tl-wn722n which uses driver ath9k_htc
nodes are around 100meters (+/-50mts) apart from each other

this behaviour has been observed (but not reported) in dissimilar
setups, using ubnt bullet2 mixed with mr3220, running r29936 with
batman-adv 2011.4.0 , with nodes 1 or 2km apart from each other.

Tests are the combined crude output of batctl td and arping, so to
make this email ease on the eye, i'm publishing them elsewhere:
http://pastebin.com/6PPwN3PS

The live openwrt configuration can be analysed in detail at
https://bitbucket.org/guidoi/deltalibre-configs/src
(it's a free, open network after all! :D )
in particular:
ana -> https://bitbucket.org/guidoi/deltalibre-configs/src/6de4ce970fe2/mac/54_E6_FC_BE_26_12
hquilla -> https://bitbucket.org/guidoi/deltalibre-configs/src/6de4ce970fe2/mac/54_E6_FC_BE_28_34
colmena -> https://bitbucket.org/guidoi/deltalibre-configs/src/6de4ce970fe2/mac/54_E6_FC_BE_29_D2

Thanks a lot for the attention,
Hope that you are having fun, and that I'm not spoiling it :)

Cheers!

Gui

[-- Attachment #2: dl_2012-07-02_07:29:04.png --]
[-- Type: image/png, Size: 140912 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2012-08-05  7:58 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-02 13:30 [B.A.T.M.A.N.] batman majareta? I can batctl ping but not ping Guido Iribarren
2012-07-02 13:57 ` Guido Iribarren
2012-07-02 14:36   ` Antonio Quartulli
2012-07-02 14:47     ` Guido Iribarren
2012-07-02 15:52     ` Marek Lindner
2012-07-02 16:11       ` Guido Iribarren
2012-07-02 16:26         ` Marek Lindner
2012-07-20 20:25     ` Guido Iribarren
2012-07-21 21:38       ` Antonio Quartulli
2012-07-22 10:57         ` Guido Iribarren
2012-07-22 11:20           ` Guido Iribarren
2012-07-23 17:28             ` Antonio Quartulli
2012-08-05  5:34               ` Gui Iribarren
2012-08-05  7:58                 ` Antonio Quartulli
2012-07-02 16:39 ` Gioacchino Mazzurco
2012-07-02 16:42   ` Antonio Quartulli
2012-07-03  7:34     ` Nicolás Echániz
2012-07-03  7:52       ` Wayne Abroue
2012-07-03  8:07         ` Marek Lindner
2012-07-03  8:27           ` Wayne Abroue
2012-07-03  8:37             ` Marek Lindner
2012-07-21 18:54 ` Gioacchino Mazzurco
2012-07-21 21:40   ` Antonio Quartulli
2012-07-22 10:54     ` Gioacchino Mazzurco

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.