From owner-freebsd-net@FreeBSD.ORG Sun Nov 27 16:03:52 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 B0E8016A41F for ; Sun, 27 Nov 2005 16:03:52 +0000 (GMT) (envelope-from ozkan@mersin.edu.tr) Received: from mail.mersin.edu.tr (mail.mersin.edu.tr [193.255.128.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D09A43D46 for ; Sun, 27 Nov 2005 16:03:51 +0000 (GMT) (envelope-from ozkan@mersin.edu.tr) Received: from localhost (localhost.mersin.edu.tr [127.0.0.1]) by mail.mersin.edu.tr (Postfix) with ESMTP id CC11B45374 for ; Sun, 27 Nov 2005 18:03:48 +0200 (EET) Received: from mail.mersin.edu.tr ([127.0.0.1]) by localhost (mail.mersin.edu.tr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11019-41 for ; Sun, 27 Nov 2005 18:03:37 +0200 (EET) Received: from [10.0.50.20] (unknown [81.213.166.209]) by mail.mersin.edu.tr (Postfix) with ESMTP id E15274536B for ; Sun, 27 Nov 2005 18:03:36 +0200 (EET) Message-ID: <4389D8D7.7000809@mersin.edu.tr> Date: Sun, 27 Nov 2005 18:03:35 +0200 From: =?ISO-8859-9?Q?=D6zkan_KIRIK?= User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050927) X-Accept-Language: tr-TR, tr, en-US, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-9; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mersin.edu.tr Subject: 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: Sun, 27 Nov 2005 16:03:52 -0000 Hi, i am trying to bridge two interfaces via if_bridge. i built a new kernel that includes "device if_bridge" line. my physical interfaces are fxp0 and fxp1 bridge0 works with fxp0, but it doesnt work with fxp1 i tried configurations below: Note: fxp0 and fxp1 doesnt have ip adress # ifconfig bridge0 create # ifconfig bridge0 addm fxp0 # ifconfig bridge0 inet 10.0.0.1/24 # 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 destroy # ifconfig bridge0 create # ifconfig bridge0 addm fxp1 # ifconfig bridge0 inet 10.0.0.1/24 # ping 10.0.0.2 PING 10.0.0.2 (10.0.0.2): 56 data bytes ping: sendto: Host is down ... After this result, i removed fxp0 from my pc. Now the old fxp1 becomes fxp0. And now i can ping via bridge member fxp0. All NICs are working , but as you see if_bridge doesnt work with the second interface. How can i solve problem? ( OS is: FreeBSD 6.0 - RELEASE ) thanks for your interests