Subject: Re: vlan & bridge.
To: Marcin Jessa <lists@yazzy.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 05/08/2006 16:07:53
On Mon, May 08, 2006 at 03:19:55PM +0200, Marcin Jessa wrote:
> 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.

Yes; the network script will read /etc/ifconfig.* in alpabetical order.
To fix this use in /etc/rc.conf:
auto_ifconfig=NO                                # config all avail. interfaces
net_interfaces="epic0 vlan0 bridge0" # used only if above is NO

(remplace epic0 with the real name of your physical network interface)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--