Subject: Re: IP on bridge interface?
To: Juha K Kallio <bunnyh@psychedelic.baana.suomi.net>
From: Martin Husemann <martin@duskware.de>
List: netbsd-users
Date: 04/17/2003 13:49:13
On Thu, Apr 17, 2003 at 02:39:41PM +0300, Juha K Kallio wrote:

> I can't access the bridge machine right now, but the commands I used were:
> 
> ifconfig bridge0 create
> brconfig bridge0 add rtk0 stp rtk0 add rtk1 stp rtk1
> ifconfig bridge0 up
> ifconfig rtk0 192.168.0.1
> ifconfig rtk0 up
> ifconfig rtk1 up

There is no "brconfig bridge0 up", so the bridge will not be active.

I'm using a similar setup as Julian. In your case I'd suggest you create
/etc/ifconfig.rtk0 with

192.168.0.1 up

in it and /etc/ifconfig.rtk1 with just

up

in it. Then create /etc/ifconfig.bridge0 with

create
! /sbin/brconfig $int add rtk0 add rtk1 up

in it. That should work.

Martin