From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from diktynna.open-mesh.org (diktynna.open-mesh.org [136.243.236.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 19B06EB64D9 for ; Tue, 4 Jul 2023 10:17:15 +0000 (UTC) Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id 3A72881CC5 for ; Tue, 4 Jul 2023 12:17:14 +0200 (CEST) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=open-mesh.org; s=20121; t=1688465834; b=DNIDKY2QvR2N/ziBOtUbgY87hisr0g0Fax9lL950GQh76lGC+8DJIG1nSWGPuJxxeH04h lOuqt6D60XTbtlILGco94mUiJ4xvDhV3fiOvGHaZ6IiW3Xxj9HIC4ynf6BoZ2B2iB+DuiQi G/mvmff77XAT2uijkLM86z3gTP8yltQ= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1688465834; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=zTYaJZpsHWVNT0HTxcQ38bqPtpzGQ/EOIuurb9z8VSM=; b=zgQZyoLxNTYuENQi+3roX3AmZ10R1VetX+Hm2Cf9gyPUtZR9+DWcLO8IHJQRD/HA68L8U fpzQormwV8OY3INfE7KGcWHSMwkQCLBl+cQ4IjPtPMTZ4J7nAzRw0HSm2H1gN2TsYIREdiP yaFXGmCiQo/GZhO2nbE2yIZ4PearvVw= ARC-Authentication-Results: i=2; open-mesh.org; dkim=fail; arc=pass; dmarc=none Authentication-Results: open-mesh.org; dkim=fail; arc=pass; dmarc=none Received: from mail.aperture-lab.de (mail.aperture-lab.de [116.203.183.178]) by diktynna.open-mesh.org (Postfix) with ESMTPS id B075C8046B for ; Tue, 4 Jul 2023 12:16:37 +0200 (CEST) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1688465798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zTYaJZpsHWVNT0HTxcQ38bqPtpzGQ/EOIuurb9z8VSM=; b=LnVUTEsh/MFzmU779FrN9E8hI3uLZaPA9dWPQi5wioUxNKwmdlAAdUbl9KJTKzb8YT7D0h hb6DCiytQ+7O2OJn+qcWzPRGqMnXrJAa7zK/8Vud/aDJNRDoqjnsHMSuRvhpp091pDI+XS ocdbyRSN1rOAfOdJn33a14OUOHaDh5k= ARC-Seal: i=1; s=20121; d=open-mesh.org; t=1688465798; a=rsa-sha256; cv=none; b=QTkg9INS1s/goMHpGLqmWhqHdwmsISiTPiKju1lvGBbZpXJQooXRl3orpnJdUdt4KhBhYw jXjELBKy5h8S2qE9dcu6XFsQ8WXMKFKzDC1NKlgRR8gK4sYS1LztUldbC4b/u4Tm807eed dx1rtroc4RXemX8Ad1vuqFUiKOWTL8M= ARC-Authentication-Results: i=1; diktynna.open-mesh.org; dkim=none; dmarc=none; spf=none (diktynna.open-mesh.org: domain of linus.luessing@c0d3.blue has no SPF policy when checking 116.203.183.178) smtp.mailfrom=linus.luessing@c0d3.blue Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 957B84AF4F; Tue, 4 Jul 2023 12:16:36 +0200 (CEST) Date: Tue, 4 Jul 2023 12:16:35 +0200 From: Linus =?utf-8?Q?L=C3=BCssing?= To: pony Subject: Re: forwarding works fine with 802.1ad vlans Message-ID: References: <2905628.e9J7NaK4W3@katze> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2905628.e9J7NaK4W3@katze> X-Last-TLS-Session-Version: TLSv1.3 Message-ID-Hash: WVIUEGKTH2CSROOC6G2E6LVI2IKC76BO X-Message-ID-Hash: WVIUEGKTH2CSROOC6G2E6LVI2IKC76BO X-MailFrom: linus.luessing@c0d3.blue X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 3.3.8 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 > >