Subject: Re: IP on bridge interface?
To: NetBSD netbsd-users mailing list <firstname.lastname@example.org>
From: Julian Coleman <email@example.com>
Date: 04/17/2003 11:58:33
> I have tried that. bridge0 consists of rtk0 and rtk1. If I assign 192.168.0.1 to rtk0, I can only ping 192.168.0.2, which
> is connected to rtk0. 192.168.0.3(rtk1) 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 192.168.0.2 from 192.168.0.3?
Also, what does your config look like? I think you should have something
ifconfig rtk0 inet 192.168.0.1 netmask 0xffffff00 up
ifconfig bridge0 create
brconfig bridge0 add rtk1 add rtk0 up
To see the ARP cache on the bridge, you can run:
My other computer also runs NetBSD