From: Antonio Quartulli <antonio@meshcoding.com>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] IP connection lost when a node is rebooted
Date: Thu, 13 Mar 2014 12:00:59 +0100 [thread overview]
Message-ID: <53218FEB.8000100@meshcoding.com> (raw)
In-Reply-To: <CAMcTwKrV4OVZP6v3hD2_4t8DWsmymGYgu9xMZa6aexrWQuORtQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]
On 13/03/14 10:24, Itamar Landsman wrote:
> HI,
> I am running a project using Raspberry pi machines that create a
> batman-adv mesh.
> Each of the rpis has three wifi devices. each of the wifi devices
> hosts a separate ad-hoc network. This way I can get to work on three
> separate channels and let batman worry about paths.
>
> My problem is that whenever I reboot a device, it comes back to life
> but IP connection is never regained until; I reboot all other devices.
>
> I have tried to move the IP address from the bt0 interface to a bridge
> interface that hosts br0 with no success.
>
> Any ideas?
>
> I am using the "Out of the box" batman-adv modules and batctl that
> come with the most recent raspbian repo.
Unfortunately I don't know what version of batman-adv is shipped iwth
raspbian. Can you check the exact version by typing "batctl -v" ?
This "issue" seems similar to something we already talked about in the
past: it's a side effect of using DAT.
DAT caches ARP entries, therefore when you reboot your node and bat0
gets a "different" (randomly generated) MAC address, you should wait for
all the other nodes in the network to drop their cached ARP entry and
request the new one associated with your IP (this is a simplistic
explanation of how ARP usually work).
I hop I made the "issue" clear.
You can check if you are really using DAT by typing "batctl dat".
For more details about DAt, please check our wiki[1]
Cheers,
[1] http://www.open-mesh.org/projects/batman-adv/wiki/DistributedArpTable
--
Antonio Quartulli
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]
next prev parent reply other threads:[~2014-03-13 11:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-13 9:24 [B.A.T.M.A.N.] IP connection lost when a node is rebooted Itamar Landsman
2014-03-13 11:00 ` Antonio Quartulli [this message]
2014-03-13 12:20 ` Itamar Landsman
2014-03-13 13:42 ` Antonio Quartulli
2014-03-13 14:51 ` Itamar Landsman
2014-03-13 16:21 ` Harms, Hannes
2014-03-13 17:53 ` Andrew Lunn
2014-03-16 13:16 ` Itamar
2014-03-16 23:59 ` Nicolás Echániz
2014-03-17 4:18 ` Antonio Quartulli
2014-03-23 8:18 ` Itamar
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=53218FEB.8000100@meshcoding.com \
--to=antonio@meshcoding.com \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/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