All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Linus Lüssing" <linus.luessing@c0d3.blue>
To: pony <pny@posteo.net>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: forwarding works fine with 802.1ad vlans
Date: Tue, 4 Jul 2023 12:16:35 +0200	[thread overview]
Message-ID: <ZKPxgykqMCU55s6X@sellars> (raw)
In-Reply-To: <2905628.e9J7NaK4W3@katze>

Hi pony,

Thanks for the feedback! I've added a comment to this Wiki entry,
that you should not rely on packets being filtered.

I'm not sure if this filtering is 100% intentional or just a
byproduct of the early VLAN awareness implementation. So far we
typically advertised batman-adv as "it just works/behaves like a
(virtual) switch", which usually helps people to understand what
to expect or not to expect from a layer 2 mesh routing protocol.
And typically, a switch in its default configuration would not
drop VLAN tagged frames.

There are/were plans to autodetect VLANs, I think, so that
you wouldn't need to add something like a bat0.23 manually. But so
far nobody has implemented it.

Regards, Linus


On Sun, Jul 02, 2023 at 04:33:55PM +0000, pony wrote:
> Hello,
> 
> In https://www.open-mesh.org/projects/batman-adv/wiki/Faq#VLAN-forwarding-doesnt-work it is stated that batman advanced will only forward vlan frames when it knows about the vlan. However this seems only to be true for 802.1q vlans. I was able to send 802.1ad tagged frames over the mesh without configuring any vlans on top of the soft interface. I am using batman-adv 2022.0-openwrt-6. When I try the same with 802.1q it behaves as described in the wiki page.
> This may be be problematic when people rely on batman advanced not forwarding vlan tagged frames.
> 
> Kind regards,
> pony
> 
> 

      reply	other threads:[~2023-07-04 10:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-02 16:33 forwarding works fine with 802.1ad vlans pony
2023-07-04 10:16 ` Linus Lüssing [this message]

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=ZKPxgykqMCU55s6X@sellars \
    --to=linus.luessing@c0d3.blue \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=pny@posteo.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 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.