Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2005 10:27:18 +1300
From:      Andrew Thompson <thompsa@freebsd.org>
To:        ?zkan KIRIK <ozkan@mersin.edu.tr>
Cc:        freebsd-net@freebsd.org
Subject:   Re: if_bridge not working with second interface
Message-ID:  <20051129212718.GB44024@heff.fud.org.nz>
In-Reply-To: <4389D8D7.7000809@mersin.edu.tr>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051129212718.GB44024>