From owner-freebsd-questions Thu Feb 3 20:59:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by builder.freebsd.org (Postfix) with ESMTP id F1266432F for ; Thu, 3 Feb 2000 20:59:27 -0800 (PST) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id AAA42965; Fri, 4 Feb 2000 00:04:12 -0500 (EST) (envelope-from cjc) Date: Fri, 4 Feb 2000 00:04:12 -0500 From: "Crist J. Clark" To: Antonio Bemfica Cc: freebsd-questions@FreeBSD.ORG Subject: Re: bridge - how to? Message-ID: <20000204000411.D42036@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from antonio@axolotl.ic.gc.ca on Wed, Feb 02, 2000 at 06:40:35PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Feb 02, 2000 at 06:40:35PM -0500, Antonio Bemfica wrote: > I'm trying to setup a bridge between some hosts on my network but am > having trouble getting it to work. I've followed the instructions set out > at http://www.kfu.com/~nsayer/freebsd/bdg-ipfw.txt but still not traffic > will go through. > > Can anyone point to some good documentation or useful links? I've been > trying to search the archives for hints, but the servers at freebsd.org > seem to be having some problems today. I have a brige set up on a machine behind a firewall, so I have no IPFW rules on the bridge. But to set up the brigde all I did was add, options BRIDGE #enables bridging between ethernet #cards -- see bridge(4) To the kernel config and then put, echo -c "Enabling bridging: " if sysctl -w net.link.ether.bridge=1 > /dev/null 2>&1; then echo "activated ." else echo "failed ." fi In rc.local. And it works fine. Did you have a look at bridge(4)? Are your interface types listed? -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message