Subject: Re: IP on bridge interface?
To: None <>
From: Juha K Kallio <>
List: netbsd-users
Date: 04/17/2003 14:07:50
On Thu, Apr 17, 2003 at 11:58:33AM +0100, Julian Coleman wrote:
> > I have tried that. bridge0 consists of rtk0 and rtk1. If I assign to rtk0, I can only ping, which 
> > is connected to rtk0. just timeouts. Do I have to set up some special routes?
> You shouldn't have to set up anything extra apart from the IP address on one
> interface of the bridge and the bridge itself.  Is the bridge bridging, i.e.
> can you ping from
> Also, what does your config look like?  I think you should have something
> like:
> 	ifconfig rtk0 inet netmask 0xffffff00 up
> 	ifconfig bridge0 create
> 	brconfig bridge0 add rtk1 add rtk0 up
> To see the ARP cache on the bridge, you can run:
> 	brconfig bridge0
> J
> -- 
>                     My other computer also runs NetBSD

Problem is, the route looks like this:

lan               link#1             U

Where lan is, and link#1 is rtk0

So every packet goes through rtk0, while instead they should go through the bridge interface, which would select the  
correct NIC.