Date: Fri, 17 Dec 2004 14:35:19 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Donatas <donatas@lrtc.net> Cc: freebsd-net@freebsd.org Subject: Re: vlan double tagging Message-ID: <20041217223519.GB27607@odin.ac.hmc.edu> In-Reply-To: <005801c4e42a$a1825890$9f90a8c0@donatas> References: <005801c4e42a$a1825890$9f90a8c0@donatas>
next in thread | previous in thread | raw e-mail | index | archive | help
--eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Dec 17, 2004 at 01:22:02PM +0200, Donatas wrote: > hello, > i'd like to ask if there's any possibility to pass double tagged vlan packets through freebsd 5.x routers? > and....how many level1 vlans are supported on one parent device? I don't know what happens with double tagged vlan packets. There should be no limit on the number of vlans supported, but with the current code, performance will be crap for large numbers because it searches the list of all vlans to match the tag. We need to add per-interface array of pointers to vlan interfaces instead. The number of vlans maximum allowed by the standard is small enough that blowing that memory is worth if for constant access time compared the complexity of using a balanced tree. > maybe there are some solutions in netgraph sphere? I'm not sure what you mean here? -- 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 --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBw18mXY6L6fI4GtQRAlMSAJ9KrwwUIx79GmhfDdkQAjlx1PMM+wCg00Da mH2HMWxK+8umN2uwKLr3yu0= =m1Ro -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041217223519.GB27607>