From owner-freebsd-questions Wed Apr 28 8:45:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from trident.univ-lehavre.fr (trident.univ-lehavre.fr [193.48.167.60]) by hub.freebsd.org (Postfix) with ESMTP id C89B215471 for ; Wed, 28 Apr 1999 08:45:53 -0700 (PDT) (envelope-from erik.dezeeuw@wanadoo.fr) Received: from sparc10.univ-lehavre.fr (sparc10.univ-lehavre.fr [193.48.167.1]) by trident.univ-lehavre.fr (8.9.3/8.9.3) with ESMTP id QAA24403 for ; Wed, 28 Apr 1999 16:52:10 +0200 Received: from wanadoo.fr (f40.univ-lehavre.fr [194.254.109.24]) by sparc10.univ-lehavre.fr (8.9.1b+Sun/8.9.1) with ESMTP id RAA05439 for ; Wed, 28 Apr 1999 17:45:24 +0100 (WET DST) Message-ID: <37271F1C.819B030A@wanadoo.fr> Date: Wed, 28 Apr 1999 16:45:48 +0200 From: Erik de Zeeuw X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.2.4 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Problem with ethernet bridging with FreeBSd Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I would like to have a freebsd pc acting as an ethernet bridge, but I can't get it to work correctly. I compiled my kernel with the "options BRIDGE", with no errors. Then I'm turning the bridge on using the sysctl variables listed in the manpage, and it seems to be Ok. The problem is the packets does not travel from one ethernet to the other, except when they come from the freebsd bridge itself. The bridge sees everything, ping every machines on both ethernets, but that's all. Machines on one ethernet does not see any of the other ethernet's machines. The FreeBSD version is the 3.1 4CD set of Walnut Creek, March 1999. I'm using a P200, 32Mb, with 2 pci ne2000 cards wich are working fine. One card is ed1, with an ip adress, and the other is ed2 with no ip adress. Both are put in promisc mode when I'm setting the net.link.ether.bridge variable to 1. The machine was running TAMU's Drawbridge on a 2.2.8-RELEASE until monday. But I would like to use the dummynet features to try some trafic shaping, that's why I tried to use the bridge code of the FreeBSD kernel. I didn't find any documentation on this, except the BRIDGE(4) manpage and the source code itself, and I couldn't figure out how to make my bridge work. May be some of you are using the native FreeBSD Bridge, and could help me setting up mine :) Or may be there's some documentation I missed, and someone could point it to me. As I don't subscribe to this list, mostly because of the huge number of messages I received whil being subscribed, thanks to send any help or comments on my e-mail. Erik de Zeeuw Universite du Havre. erik@univ-lehavre.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message