Date: Fri, 7 Oct 2005 16:56:32 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-net@FreeBSD.ORG, Donatas <donatas@lrtc.net> Subject: Re: double tagged vlans on 6.0 Message-ID: <200510071456.j97EuWFK015056@lurza.secnetix.de> In-Reply-To: <006101c5cb48$d3126890$9f90a8c0@donatas>
next in thread | previous in thread | raw e-mail | index | archive | help
[broken quoting fixed] Donatas <donatas@lrtc.net> wrote: > Oliver Fromme wrote: > > Donatas <donatas@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. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "Perl will consistently give you what you want, unless what you want is consistency." -- Larry Wall
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510071456.j97EuWFK015056>