All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilario Gelmetti <ilario.gelmetti@sns.it>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] Bridge changing source mac address prevents batman-adv from connecting
Date: Fri, 20 Jun 2014 15:58:50 +0200	[thread overview]
Message-ID: <53A43E1A.1060800@sns.it> (raw)

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

Hi all!
I'm using batman-adv (2014.2.0) on two devices running OpenWrt
(LibreMesh) connected using a third device running a proprietary
firmware in bridge mode (AirOS), this is the topology:
http://i.imgur.com/ELMi5RC.png

mac3E80 OpenWrt batman----cable----macE3E7 AirOS station----wireless--
--macE434 AP OpenWrt batman

using tcpdump on the OpenWrt devices I can see batman packets flowing:
on mac3E80 I can see:
http://sprunge.us/iePM
while on macE434 I can see:
http://sprunge.us/DIAX
as you can see the problem is that macE434 sees packets from mac3E80
*approaching with the wrong mac address*, the mac address of macE3E7 so
I think it discards the packages when source mac address is different
from mac address specified inside the packet.
Is this only a security check?
How could I get things work?
Thanks,
Ilario


-- 
Ilario Gelmetti
iochesonome@gmail.com
ilario.gelmetti@sns.it


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 246 bytes --]

             reply	other threads:[~2014-06-20 13:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-20 13:58 Ilario Gelmetti [this message]
2014-06-20 14:54 ` [B.A.T.M.A.N.] Bridge changing source mac address prevents batman-adv from connecting Gui Iribarren
2014-06-20 14:58 ` Bastian

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=53A43E1A.1060800@sns.it \
    --to=ilario.gelmetti@sns.it \
    --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.