Re: vlans and cloning
- From: Andrew Thompson <thompsa@xxxxxxxxxxx>
- Date: Tue, 11 Jul 2006 08:27:14 +1200
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"
- Follow-Ups:
- Re: vlans and cloning
- From: Brooks Davis
- Re: vlans and cloning
- References:
- vlans and cloning
- From: Sam Leffler
- Re: vlans and cloning
- From: Andre Oppermann
- Re: vlans and cloning
- From: Brooks Davis
- vlans and cloning
- Prev by Date: Re: [RFC] mount can figure out fstype automatically
- Next by Date: Re: [RFC] mount can figure out fstype automatically
- Previous by thread: Re: vlans and cloning
- Next by thread: Re: vlans and cloning
- Index(es):
Relevant Pages
- Re: vlans and cloning
... ifconfig vlan0 vlan 1 vlandev em0 ... root@homelynx# ifconfig vlan32
vlan 32 vlandev rl0 ... (freebsd-arch) - Re: vlans and cloning
... ifconfig vlan0 vlan 1 vlandev em0 ... you can still specify the name of the
cloned device. ... (freebsd-arch) - Re: problem with vlan interfaces in 6-STABLE
... >> I have a small problem with my vlan interfaces configured from rc.conf: ...
The config did not change during the update: ... > to ifconfig in RELENG_6. ...
those from the parent, ... (freebsd-stable) - Re: vlans and cloning
... ifconfig vlan0 vlan 1 vlandev em0 ... root@homelynx# ifconfig vlan32
vlan 32 vlandev rl0 ... (freebsd-arch) - Re: vlans and cloning
... I also modified the vlan code to use this ... ifconfig vlan create vlan
1 vlandev em0 ... Unless cause ifconfig to autoload all if_ modules when cloning fails,
... (freebsd-arch)