From owner-freebsd-questions Wed Apr 28 9: 4:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 7EC3315768 for ; Wed, 28 Apr 1999 09:04:53 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id LAA02215; Wed, 28 Apr 1999 11:23:18 -0500 (EST) Date: Wed, 28 Apr 1999 11:23:17 -0500 (EST) From: Alfred Perlstein To: Erik de Zeeuw Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problem with ethernet bridging with FreeBSd In-Reply-To: <37271F1C.819B030A@wanadoo.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 28 Apr 1999, Erik de Zeeuw wrote: > 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. I don't have anything to test this, but can you try assigning an IP address to the second interface? and are you sure you read this part of the manpage for "bridge": net.link.ether.bridge_ipfw Set to 1 to enable ipfw filtering on bridged packets. Note that ipfw rules only apply to IP packets. Non-IP packets are subject to the default ipfw rule (number 65535) which must be an allow rule if we want ARP and other non-IP packets to flow through the bridge. ? make SURE both interfaces are "ifconfig up" -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message