Re: vlans and cloning



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
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages