if_bridge not working with second interface
Andrew Thompson
thompsa at freebsd.org
Tue Nov 29 21:27:23 GMT 2005
On Sun, Nov 27, 2005 at 06:03:35PM +0200, ?zkan KIRIK wrote:
> Hi,
>
> i am trying to bridge two interfaces via if_bridge.
> i built a new kernel that includes "device if_bridge" line.
>
> # ifconfig bridge0 addm fxp0
>
> # ping 10.0.0.2
> PING 10.0.0.2 (10.0.0.2): 56 data bytes
> 64 bytes from 10.0.50.1: icmp_seq=0 ttl=64 time=1.847 ms
>
> it works. Then, I removed cable from fxp0 and plugged to fxp1.
> # ifconfig bridge0 addm fxp1
>
> # ping 10.0.0.2
> PING 10.0.0.2 (10.0.0.2): 56 data bytes
> ping: sendto: Host is down
Are you sure that fxp1 is up? make sure you have the following in
rc.conf
ifconfig_fxp0="up"
ifconfig_fxp1="up"
Your symptoms appear like you are missing the second line. Failing that,
check your arp cache to see if the addresses are correct.
Andrew
More information about the freebsd-net
mailing list