From owner-freebsd-questions Sat Nov 18 22:41:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 6DFAD37B479 for ; Sat, 18 Nov 2000 22:41:30 -0800 (PST) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sat, 18 Nov 2000 22:40:00 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eAJ6fRI40532; Sat, 18 Nov 2000 22:41:27 -0800 (PST) (envelope-from cjc) Date: Sat, 18 Nov 2000 22:41:26 -0800 From: "Crist J . Clark" To: Bill Woods Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Bridging... Message-ID: <20001118224126.F38109@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bwoods2@uswest.net on Sat, Nov 18, 2000 at 07:47:27PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Nov 18, 2000 at 07:47:27PM -0800, Bill Woods wrote: > It looks like I am going to have to do some bridging of ethernet cards in > 4.2-BETA, so what I need to know are a few things.... > > In rc.conf where I set up ethernet cards, this is what I have now.. > > ifconfig_ep0="inet 63.227.213.93 netmask 255.255.255.248" > ifconfig_ep1="inet 10.0.0.99 netmask 255.255.255.255" > > ep0 conects to the world > ep1 connects to my internal lan If you really have two different logical networks, you do not want to be doing bridging. If you are going to be bridging, the best way to go is only put an IP address on one of the NICs. > Since I am going to be bridging the two cards as one, what settings do I > use. I looked in the handbook, but its not that clear to me. > > Also, does ipf work with bridging ethernet cards or do I need to go to > ipfw? I know IPF does bridging... on some platforms. I can't recall if it works on FreeBSD. Did you search the email archive? > Also, the cards are: > > ep0: <3Com 3C509-TPO EtherLink III> at port 0x210-0x21f irq 7 on isa0 > ep0: Ethernet address 00:a0:24:31:de:03 > ep1: <3Com 3C509-TPO EtherLink III> at port 0x300-0x30f irq 10 on isa0 > ep1: Ethernet address 00:a0:24:9b:99:d8 > > Will these cards work in bridging mode? $ man bridge . . . Not all interface support bridging -- at the moment it works for ``ed'', ``de'', ``ep'', ``fe'', ``fxp'', ``lnc'', ``mx'', ``tx'', and ``xl'' in- terfaces. ^^ Seems like it. > any oither helpfull hints? Do not do it unless you have to. FreeBSD bridging worked fine for me in 3.x, but I was not doing any firewalling. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message