From nobody Mon Oct 02 17:01:28 2023 X-Original-To: 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 4RznKj4jKxz4wHJ0 for ; Mon, 2 Oct 2023 17:01:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RznKj3hRSz4Qm4 for ; Mon, 2 Oct 2023 17:01:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696266089; a=rsa-sha256; cv=none; b=dPxvhyk2jgdvSpx6v4wDIffrwcpWfS0CnPxjtDeT4h5kvlkDududJIESk3c2AZvhyqsSaT 3J/wR3cxegD3OQcyxLYNINEKvh7hqR8mFHaNSolm3/Goetd5oXc4d+fa90kSuhq80yNIj/ ZYoZtzy9w3EBbqLidwxfG9NgecFhuUCdERbD6eD7Q7WJ0UkUEKL9g7eqUqaMp5qFuivCUI ysD3ppfbeUD+4M4fwNpIdkyK+nx07l8LoaoSsJpBvY9CcacUc9CCY9Zfg5dftHMdxtr/jh XFQDRMTtkvsNAPV3b2C/aaHafnVdAip/O5kEVXrx/HBI4QBYXZ5VAFwT9Bul7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696266089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M/T5f/fBswIY7fw6LDo0W7ntFnKO0zqEakUAO9pQEow=; b=UL/gDk6atqSugQDTe40Jt1JRzpaZJoD7mMhPh+Uqtl4APP98piCkMNCvTZm/tioxMBIsw0 ehwrDP4Kg+O5KUEEbL5ZrNXcz2iCZED3PXXR8y5PZKmzIsnOWQ7fEfCs8hu4B6wzj5BXf4 uPHxEqdOwSvqwwKFn7k7l4jJpgKoUAGxJGSd86egkEJmbtdMuFCaH5BQur+TVLg3DJmHcc 9L4ogDDTQOPYpKJ5evlpnYg6LX9Sf6VV2bdj/SpJE+JvMy/wkSUiOBIgJPpQZEUx4DAAIJ kYJaslvtKpyoWs92rtxwXPWILfCVy34I21rqLMMK8Ia0fISQoA/mDo1lqZFldA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RznKj2mtJz5Vj for ; Mon, 2 Oct 2023 17:01:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 392H1TZ7004036 for ; Mon, 2 Oct 2023 17:01:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 392H1T9Z004009 for net@FreeBSD.org; Mon, 2 Oct 2023 17:01:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 264014] QinQ not working with a lot of switches Date: Mon, 02 Oct 2023 17:01:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: iflib X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264014 --- Comment #1 from Zhenlei Huang --- The IEEE 802.1AD published at May 26,2006 [1]. That is about 17 years ago at the time writing. > There are a lot of switches on the market with QinQ support, but not all = support > QinQ according to IEEE 802.1AD. This is because of historical reasons. Be= fore IEEE=20 > finished 802.1AD, vendores implemented pre-802.1AD standards, often calle= d 802.1QinQ > or something like that.=20 To be honest, it does not require much effort to support them in FreeBSD net stack. But I am *personally* not willing to do so, as these devices are manufactured at ancient times. Probably they are EOL and out of support eve= nt by the vendors. > Today, you can still buy modern switches with legacy/proprietary QinQ > implementation. Those use EhterTypes like 0x9100 for example. Some but no= t much=20 > switches allow to modify the EtherType to 0x88A8 according to 802.1AD or= set the=20 > EtherType of QinQ to custom values (for example Dell OS6 allows both). So the default EtherType should be 0x88A8 (802.1AD). 0x9100 should be chosen only for interoperability with ancient devices. 1. https://www.ieee802.org/1/pages/802.1ad.html --=20 You are receiving this mail because: You are the assignee for the bug.=