From: "Linus Lüssing" <linus.luessing@c0d3.blue>
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.] Manually Updating Translation table
Date: Wed, 16 Aug 2017 16:47:05 +0200 [thread overview]
Message-ID: <20170816144705.GA11501@otheros> (raw)
In-Reply-To: <CA+DjzFb8JV2opdLOTaPdm0wNXh95fvQSBcTdreUSmEQrVn5tKQ@mail.gmail.com>
Hi,
Currently, no there isn't. The only thing you could do to manually
add an entry from inside a node is by crafting a dummy packet with
the desired ethernet source address and transmit it on bat0. That
way batman-adv would add that MAC address. Deleting only happens
after a timeout though, no way to force it manually.
In case you are thinking about implementing such a feature:
The Linux bridge has a feature like that to update the FDB
(forwarding database, for unicast addresses) or MDB (multicast
database). It uses netlink for that and you can use
/usr/sbin/bridge to easily add and remove entries from userspace.
That'd probably be the approach to mimic in batman-adv for such a
feature.
Regards, Linus
PS: Out of curiousity, could you share what you'd need such a
feature for?
On Wed, Aug 16, 2017 at 03:57:29PM +0200, Kartikeswar K wrote:
> Dear BATMAN Community members,
>
> I am new to BATMAN Mesh network and looking forward for answer to my
> query related to updating Local Translation Table in a BATMAN Node.
>
> I would like to make a mesh network where I would like to update the
> client entry in Local Translation manually. Is it possible to add the
> entry manually in translation table?
> If so, I would like to know how can I update this table in BATMAN from
> user space?
>
> Thanks in advance and would appreciate your responses.
>
> Thanks & Regards,
> Kartikeswar Koppula
> kartikeswar@gmail.com
next prev parent reply other threads:[~2017-08-16 14:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-16 13:57 [B.A.T.M.A.N.] Manually Updating Translation table Kartikeswar K
2017-08-16 14:47 ` Linus Lüssing [this message]
2017-08-16 15:05 ` Kartikeswar Koppula
[not found] ` <mailman.4.1502895970.6668.b.a.t.m.a.n@lists.open-mesh.org>
2017-08-16 15:41 ` Linus Lüssing
[not found] ` <CACXSwgp6X3NcAd7jv4K3rQBMmHwjwsYPZp5D88wOuBJ4yB=h9A@mail.gmail.com>
2017-10-25 13:15 ` Linus Lüssing
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=20170816144705.GA11501@otheros \
--to=linus.luessing@c0d3.blue \
--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 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.