From owner-freebsd-net@FreeBSD.ORG Tue Nov 29 21:27:23 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3276F16A420 for ; Tue, 29 Nov 2005 21:27:23 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from dbmail-mx3.orcon.co.nz (loadbalancer1.orcon.net.nz [219.88.242.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 752C843D58 for ; Tue, 29 Nov 2005 21:27:22 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from heff.fud.org.nz (60-234-149-201.bitstream.orcon.net.nz [60.234.149.201]) by dbmail-mx3.orcon.co.nz (8.13.2/8.13.2/Debian-1) with ESMTP id jATLSNP8027063; Wed, 30 Nov 2005 10:28:23 +1300 Received: by heff.fud.org.nz (Postfix, from userid 1001) id A221C28430; Wed, 30 Nov 2005 10:27:18 +1300 (NZDT) Date: Wed, 30 Nov 2005 10:27:18 +1300 From: Andrew Thompson To: ?zkan KIRIK Message-ID: <20051129212718.GB44024@heff.fud.org.nz> References: <4389D8D7.7000809@mersin.edu.tr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4389D8D7.7000809@mersin.edu.tr> User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV 0.87.1/1198/Tue Nov 29 23:05:20 2005 on dbmail-mx3.orcon.co.nz X-Virus-Status: Clean Cc: freebsd-net@freebsd.org Subject: Re: if_bridge not working with second interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2005 21:27:23 -0000 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