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

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
bridge0. 
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 :
create
!brconfig $int \
add vlan0
up

Bridge shows only one member after boot:
troll# brconfig -a
bridge0: flags=41<UP,RUNNING>
        Configuration:
                priority 32768 hellotime 2 fwddelay 15 maxage 20
                ipfilter disabled flags 0x0
        Interfaces:
                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 


Marcin.