Subject: Re: Bridged vlans anyone?
To: None <netbsd-users@netbsd.org>
From: Peter Eisch <peter@boku.net>
List: netbsd-users
Date: 12/23/2006 11:28:32
On 12/19/06 12:05 PM, "Thor Lancelot Simon" <tls@rek.tjls.com> wrote:

> On Tue, Dec 19, 2006 at 02:53:23PM +0100, Tobias Nygren wrote:
>> 
>> I've used a setup similar to this.
>> There is one caveat on startup though. Because ifconfig -C
>> returns bridge before vlan, you can't configure bridges with
>> vlan ports in the normal way. In other words,
>> /etc/ifconfig.bridge0 will be configured before /etc/ifconfig.vlan0.
> 
> Sure you can: just put the interfaces in inet_interfaces in /etc/rc.conf
> in the order in which you want them configured.
> 

My rc.conf ends up with:

auto_ifconfig=NO
net_interfaces="bge0 bge1 re0 re1 vlan11 vlan12 vlan13 vlan14 vlan21 vlan22
vlan23 vlan24 vlan31 vlan32 vlan33 vlan34 vlan41 vlan42 vlan43 vlan44 vlan51
vlan52 vlan53 vlan54 vlan61 vlan62 vlan63 vlan64 vlan71 vlan72 vlan73 vlan75
tap100 tap101 tap102 tap104 tap105 tap107 tap200 bridge100 bridge101
bridge102 bridge104 bridge105 bridge107"

And it seems to have come up quite nicely.  Now I need to migrate my NAT
config.

By the way, what does "ipfilter disabled flags 0x0" mean?

Thanks,

peter