Date: Tue, 11 Jul 2006 08:27:14 +1200 From: Andrew Thompson <thompsa@freebsd.org> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: Andre Oppermann <andre@freebsd.org>, freebsd-arch@freebsd.org Subject: Re: vlans and cloning Message-ID: <20060710202714.GC16054@heff.fud.org.nz> In-Reply-To: <20060710160441.GB31026@odin.ac.hmc.edu> References: <44B15511.206@errno.com> <44B21551.5050002@freebsd.org> <20060710160441.GB31026@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 10, 2006 at 09:04:41AM -0700, Brooks Davis wrote: > On Mon, Jul 10, 2006 at 10:52:33AM +0200, Andre Oppermann wrote: > > Sam Leffler wrote: > > >I committed the revised netif cloning api so you can now specify > > >parameters when cloning. I also modified the vlan code to use this > > >mechanism so doing something like: > > > > > >ifconfig vlan create vlan 1 vlandev em0 > > > > > > > /me wants to do: > > > > "ifconfig em0.1 inet 192.168.2.2/24" > > > > Even simpler. And yes, this works already but only if if_vlan.ko > > was loaded before or compiled into the kernel. It doesn't do auto- > > load. > > Unless cause ifconfig to autoload all if_ modules when cloning fails, > it's impossiable to support this without having if_vlan loaded. That > said the current plan it to eliminate if_vlan and integrate vlan support > directly into if_ethersubr.c to allow use to correctly handle the > default vlan case among otherthings. Is anyone working on this? The bridge code needs access to the vlan tag to properly hash the address as each vlan is a seperate broadcast domain, this would be much easier with vlan merged to if_ethersubr.c. Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060710202714.GC16054>