double tagged vlans on 6.0

Brooks Davis brooks at one-eyed-alien.net
Fri Oct 7 09:34:14 PDT 2005


On Fri, Oct 07, 2005 at 04:56:32PM +0200, Oliver Fromme wrote:
> [broken quoting fixed]
> 
> Donatas <donatas at lrtc.net> wrote:
>  > Oliver Fromme wrote:
>  > > Donatas <donatas at lrtc.net> wrote:
>  > > > Just wonder - what is the major reason double vlan support
>  > > > (also known as q-in-q or nested vlan)  is still not included
>  > > > in freebsd.
>  > > 
>  > > It is supported, for years already (even in FreeBSD 4.x).
>  > > See ng_vlan(4).  You can even do q-in-q-in-q if you want
>  > > (do Cisco etc. support that?).  ;-)
>  > 
>  > netgraph sweet netgraph...
>  > 
>  > think you understand on my mind was a liitle bit different
>  > solution of the problem :]
>  > 
>  > ifconfig vlan 10 create && ifconfig vlan10 vlan 10 vlandev fxp0
>  > ifconfig vlan 111 create && ifconfig vlan111 vlan 111vlandev vlan10
> 
> Well, then you should switch your mind to the solution
> using netgraph.  ;-)
> 
> Anyway -- You asked "what is the major reason double vlan
> support is still not included", and the answer simply is:
> 
> 1.  It _is_ included (only in a way different from what
>     you were thinking -- but nevertheless, it _is_ there).
> 
> 2.  The major reason that nobody has implemented a way to
>     do it with ifconfig (like you proposed), is probably
>     the fact that there's already a different way (using
>     netgraph).  So nobody was motivated to implement yet
>     another way to do it, I guess.
> 
> If you don't like to do it with netgraph, I suggest you
> write some patches and submit them with send-pr(1).
> If the patches are good, they will certainly get committed.

The real reason the normal vlan framework doens't support it is that
they framework is not all that well designed.  It meets the
requirements to simple handling of a trunked port, but little else.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20051007/3a8a1052/attachment.bin


More information about the freebsd-net mailing list