Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 May 2022 22:15:29 +0300
From:      Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
To:        freebsd-net@freebsd.org
Subject:   Re: Which EtherTypes are recognized for 802.1AD / QinQ ?
Message-ID:  <24558996-2b83-87e8-8d76-e3517246aea9@shurik.kiev.ua>
In-Reply-To: <b5c5a210-7525-9c6f-f4cc-8a19e1e1f32f@will-hier-weg.de>
References:  <b5c5a210-7525-9c6f-f4cc-8a19e1e1f32f@will-hier-weg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
13.05.22 12:14, I.C.H пише:
>
> 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) 
> <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 
> <https://reviews.freebsd.org/D21846>;
>
> Thanks for helping to clarify this topic.
>
> Kind regards
>
>

Brifely reading sources I can tell that non-802.1ad tags supported only 
by ng_vlan(4).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24558996-2b83-87e8-8d76-e3517246aea9>