Subject: vlan & bridge.
To: NetBSD-current <>
From: Marcin Jessa <>
List: current-users
Date: 05/08/2006 15:19:55

I have a server running XEN0 v.2.
It's link to the outside goes through vlan0.
The problem is bridge needed for XENU does not 
include my vlan0 device after reboot so only xvif becomes member of
Adding vlan0 as member of my bridge after reboot
works fine though.
It seems like vlan0 gets created after bridge0 
and the bridge device is unable to include it.
I could propably use /etc/rc.local as a dirty fix.
Any ideas guys?

My /etc/ifconfig.bridge0 :
!brconfig $int \
add vlan0

Bridge shows only one member after boot:
troll# brconfig -a
bridge0: flags=41<UP,RUNNING>
                priority 32768 hellotime 2 fwddelay 15 maxage 20
                ipfilter disabled flags 0x0
                xvif3.0 flags=3<LEARNING,DISCOVER>
                        port 6 priority 128
        Address cache (max cache: 100, timeout: 1200):
                aa:00:00:50:02:f0 xvif3.0 966 flags=0<>

NetBSD version: 3.99.19