From nobody Fri May 13 09:14:26 2022 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3BB941AE9A15 for ; Fri, 13 May 2022 09:14:29 +0000 (UTC) (envelope-from i.c.h@will-hier-weg.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L02yr3VQQz3KlQ for ; Fri, 13 May 2022 09:14:28 +0000 (UTC) (envelope-from i.c.h@will-hier-weg.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1652433267; bh=lBuhQceqG2YsEePQrCFBZ9nE5YqA6ylgO3p5iuguhwg=; h=X-UI-Sender-Class:Date:To:From:Subject; b=d4n3RVDFEwgThgyejYBCsw0DwEfa491L0TNYa3JLLc/QEMyTrOjEpLg9qrjsRzTni NR5e8MgBq4cCHnnhlTooc9mHm8W2YX/fhRRksvplh2RSW2E2hNhXvkKf8rvFihdJyS geguJ/c9IDEYbKrusiolXuVbzDZiWoRTT22+f2v8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.1.1.101] ([93.237.97.162]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N6KUd-1ns70k1Su1-016dhA for ; Fri, 13 May 2022 11:14:27 +0200 Content-Type: multipart/alternative; boundary="------------e4UDCQNgdOjN9jaK62u7zVkz" Message-ID: Date: Fri, 13 May 2022 11:14:26 +0200 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Content-Language: de-DE To: freebsd-net@FreeBSD.org From: "I.C.H" Subject: Which EtherTypes are recognized for 802.1AD / QinQ ? X-Provags-ID: V03:K1:NRrIJN1cYIV0pX7ssywtiXyP84gyQ8b7lrrSaKoeRS6FN8VxU6i h1IDxewwfeY/4DLBVejgGNx3AuBwZtZh2DVj0k2eAlY8nowZYS+nfpg0gaTWPZxo8pAeuLu 30Y0Ko0K+CodfHoG4+K4lI3nFpssilPRVPAHU3uBPTvU2ClsCbKF/syv41+gXDVJDLs3vIT e87ft3ckowLJynVlMg/5Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:dQfK4NYN6Oo=:rd/QZ2erEb62NSD1l6ggG0 BKtQgbo26OiOuO0jCupiUymhq160JZKPdfwBorayqF5H0RN/OPsi/eccx9w+nBdELAEL55EDM P3UVjdTONXwhq4LYQKuHnRdos+jE3qLQ7nJdB7900dcUXCE5FTGveXaBF7AWXEQfkVXw93b2H qC9+gqpjAMbilT5p7aDN4Cr06exX4NecbjocrhFx0WRqc4MRqA2JsJEEaGJTIEWibnmdRGrXC XXdABchBV5GBBGFpJFm7HYY7Wo05F5uelhGOscoYuWozBxbadtsMXFkziCZbp+nutNjCfK7xt zcS4lGprB5IgzswJrG3eCqAOEsfqT5UH7hi2c2eovVJycFBq5hAGRwdOg233geYJ4B53JU2Pd +WQrGUCCusAz+eYrppfiCiMh6Hj7ChK44gQDzfyZEcqec7FJNcVoGLDbmIz66mK0H+vsa+Qx8 cG+rHZQGsR55i+n3RiZhCKiFSIkSwQpF+wwLbojN/OZm2utSx7uqEIdAOzi9Hc6EaJkUQAv0/ NelfAC+xoMpIo83kxohnfa7Wxrym2qPEW355GJTCH5U8DUWlNwzt519B7RMugpk5DbtbBxkA/ 6Wc7GZvlIOFZOe9r2X0h3rCgdMyl+SeSlRxDjZ9/lA3C+XhRjeFYWXw08yUUaYVcXeZqWfzgu JkhjoVrXh1IKkIdMrzO16nfu7YEEYZqCMvOj6a8gyC+qg51A546oJynU935LOchQHHTLFn0l0 3jPSamhlpw0hJRMaKfGoJardcXfQI9v1qx8u+0dOoJH+XhR3lPCTMoOUMz1a44eXio5vc0skx cOSfSfPNQcxLxPgcu+XSm0ZLGrbeupGL5uov9mlm7V+rdUx2FO9zAYxGmD2dM5OskrlZvFADN irvRrsg7LQ5CBdfvag76sVsPz2FfYP4W3YLTWgZLB+lV0T0Z/ADgmqr5Mqhlfv3Jv6Ja0yZ0w jKnd93gZETVhsGCpIo4Pls9kBNualSCXeWsQoXVrX6QWR5fJFx1+wjtBRv6A62cBsWg+b8HVc w0cotxWHdy7I7lHEpVTy5YHVPDJxixVSOxEBVAKNTHofXcyq+TpLKKB4PNZhOOwqm/xgb5LP+ LA5kbjTgEVqZ3E= X-Rspamd-Queue-Id: 4L02yr3VQQz3KlQ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=d4n3RVDF; dmarc=none; spf=pass (mx1.freebsd.org: domain of i.c.h@will-hier-weg.de designates 212.227.15.15 as permitted sender) smtp.mailfrom=i.c.h@will-hier-weg.de X-Spamd-Result: default: False [-2.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25:c]; FREEMAIL_FROM(0.00)[will-hier-weg.de]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[1]; DKIM_TRACE(0.00)[gmx.net:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.15:from]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[will-hier-weg.de]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.80)[-0.798]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[will-hier-weg.de]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[gmx.net:dkim]; RECEIVED_SPAMHAUS_PBL(0.00)[93.237.97.162:received]; MLMMJ_DEST(0.00)[freebsd-net]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.15:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------e4UDCQNgdOjN9jaK62u7zVkz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi all, i allready asked the question in the FreeBSD Forums, but i was told to better aks this question in the mailing list to be sure. You can find my question and all the answers given in this topic here: https://forums.freebsd.org/threads/which-ethertypes-are-recognized-for-802= -1ad-qinq.85152/ I will also quote the initial question at the end of this email. Thanks for clarify my question. Kind regards I.C.H Hi all, 802.1AD defines the EtherType / TPID as 0x88A8. FreeBSD supports 802.1AD (QinQ tagging), see https://www.freebsd.org/cgi/man.cgi?ifconfig(8) -> vlanproto Before IEEE passed 802.1AD , there were proprietary standards for VLAN stacking, often called 802.1QinQ or similar. Sometimes, vendors used 0x9100, 0x9200 or 0x9300 as EtherType for the "outer" tag, but some switches can also insert 0x8100 into another 0x8100. Today, its still possible to buy switches with QinQ-capability with proprietary QinQ implementation which uses some non-802.1AD-compliant EtherTypes. Not all offer the ability to change the EtherType to 0x88A8 or define it by your own, so you have to deal with it. I am wondering, which EtherTypes are assigned internally in FreeBSD to be handled as QinQ ? I googled a bit and found this, but i am not sure if it will answer my question: https://reviews.freebsd.org/D21846 Thanks for helping to clarify this topic. Kind regards --------------e4UDCQNgdOjN9jaK62u7zVkz Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi all,

i allready asked the question in the FreeBSD Forums, but i was told to better aks this question in the mailing list to be sure.

You can find my question and all the answers given in this topic here: https://forums.freebsd.org/threads/which-ethertypes-are-recognized-for-802-1ad-qinq.85152/

I will also quote the initial question at the end of this email.

Thanks for clarify my question.

Kind regards
I.C.H


Hi all,

802.1AD defines the EtherType / TPID as 0x88A8.
FreeBSD supports 802.1AD (QinQ tagging), see https://www.freebsd.org/cgi/man.cgi?ifconfig(8) -> vlanproto

Before IEEE passed 802.1AD , there were proprietary standards for VLAN stacking, often called 802.1QinQ or similar. Sometimes, vendors used 0x9100, 0x9200 or 0x9300 as EtherType for the "outer" tag, but some switches can also insert 0x8100 into another 0x8100.

Today, its still possible to buy switches with QinQ-capability with proprietary QinQ implementation which uses some non-802.1AD-compliant EtherTypes. Not all offer the ability to change the EtherType to 0x88A8 or define it by your own, so you have to deal with it.

I am wondering, which EtherTypes are assigned internally in FreeBSD to be handled as QinQ ?

I googled a bit and found this, but i am not sure if it will answer my question: https://reviews.freebsd.org/D21846

Thanks for helping to clarify this topic.

Kind regards


--------------e4UDCQNgdOjN9jaK62u7zVkz--