From owner-freebsd-questions@FreeBSD.ORG Sat Sep 10 17:50:24 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEC2316A41F for ; Sat, 10 Sep 2005 17:50:24 +0000 (GMT) (envelope-from chengjin@cs.caltech.edu) Received: from swordfish.cs.caltech.edu (swordfish.cs.caltech.edu [131.215.44.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7104B43D46 for ; Sat, 10 Sep 2005 17:50:24 +0000 (GMT) (envelope-from chengjin@cs.caltech.edu) Received: from orchestra.cs.caltech.edu (orchestra.cs.caltech.edu [131.215.44.20]) by swordfish.cs.caltech.edu (Postfix) with ESMTP id 17C4ADF335; Sat, 10 Sep 2005 10:50:22 -0700 (PDT) Received: by orchestra.cs.caltech.edu (Postfix, from userid 20269) id 17B20103B9D; Sat, 10 Sep 2005 10:50:17 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by orchestra.cs.caltech.edu (Postfix) with ESMTP id 931D0103B62; Sat, 10 Sep 2005 10:50:17 -0700 (PDT) Date: Sat, 10 Sep 2005 10:50:17 -0700 (PDT) From: Cheng Jin To: Leonidas Tsampros In-Reply-To: <20050910145147.GA3028@bifteki.lan> Message-ID: References: <20050910145147.GA3028@bifteki.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: ipfw out xmit trouble X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 17:50:24 -0000 Thanks, Leonidas. > According to the FreeBSD Handbook, Chapter 26.5 you have to set the > following sysctl variables in order to enable bridging support: > > net.link.ether.bridge.enable=1 > net.link.ether.bridge.config=xl0,fxp0 > net.link.ether.bridge_ipfw=1 The bridge.ko is loaded via /boot/loader.conf, and both bridge.enabled and bridge.config are set via /etc/sysctl.conf bridge_ipfw is set in my script that was shown in the original e-mail. dummynet.ko is also loaded via /boot/loader.conf. I believe I have all the necessary ko's loaded and configs set. Otherwise, the second pipe wouldnt have worked. > Also you must have recompiled your kernel to include "options BRIDGE". > (you can also load the bridge.ko module with "kldload bridge") Yes, I loaded the ko at start-up. This thing just seems strange to me. Maybe there is something about bridging that I don't understand. Cheng