From owner-freebsd-stable Mon May 7 15:48:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from crotus.sc.intel.com (scfdns02.sc.intel.com [143.183.152.26]) by hub.freebsd.org (Postfix) with ESMTP id CE56237B422 for ; Mon, 7 May 2001 15:48:04 -0700 (PDT) (envelope-from jreynold@sedona.ch.intel.com) Received: from sedona.intel.com (sedona.ch.intel.com [143.182.218.21]) by crotus.sc.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.36 2001/04/18 16:16:02 root Exp $) with ESMTP id WAA10957 for ; Mon, 7 May 2001 22:48:04 GMT Received: from hip186.ch.intel.com (hip186.ch.intel.com [143.182.225.68]) by sedona.intel.com (8.9.1a/8.9.1/d: sendmail.cf,v 1.14 2001/01/02 18:39:59 steved Exp $) with ESMTP id PAA15313 for ; Mon, 7 May 2001 15:48:03 -0700 (MST) X-Envelope-To: Received: (from jreynold@localhost) by hip186.ch.intel.com (8.9.1a/8.9.1/d: client.m4,v 1.3 1998/09/29 16:36:11 sedayao Exp sedayao $) id SAA00671 for stable@freebsd.org; Mon, 7 May 2001 18:48:04 -0400 (EDT) Date: Mon, 7 May 2001 18:48:04 -0400 (EDT) Message-Id: <200105072248.SAA00671@hip186.ch.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: John Reynolds~ To: Nuno Teixeira Subject: Re: Bridging + DHCP +cable modems In-Reply-To: <20010507232744.S508-100000@gateway.bogus> References: <20010507232744.S508-100000@gateway.bogus> X-Envelope-From: jreynold@sedona.ch.intel.com X-Authentication-Warning: hip186.ch.intel.com: jreynold set sender to jreynold@sedona.ch.intel.com using -f X-Mailer: VM 6.92 under Emacs 20.7.2 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [freebsd.og doesn't quite exist ... fixing typo and sending this again] [ On Monday, May 7, Nuno Teixeira wrote: ] > > I'm about to configure a FreeBSD gateway with a cable modem connection. > > I use 2 ethernet interfaces, one for the ISP-cable modem and the > other for the local network. In this case, I have to setup a BRIDGE so I > can pass information between the 2 ethernet interfaces. > > Resuming, I should use DHCP to find my dynamic IP number and BRIDGE to > give the possibilily of my local network can communicate with the Internet > via the ethernet interface of cable modem. > I don't know about specifically setting up a bridge. I've got the same sort of setup at home, and I really didn't have to do much. The settings that make all this happen in my /etc/rc.conf are: gateway_enable="YES" # this makes the host a "bridge" as you describe it ifconfig_fxp0="DHCP" # 1st NIC goes to cable modem ifconfig_fxp1="inet 192.168.1.3" # 2nd NIC bridges to the switch. use whatever # IP you care to here in the "allowed range" dhclient and the /etc/rc* scripts will take care of everything else for you so long as /etc/dhclient.conf is setup correctly. -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | John Reynolds WCCG, CCE, (space for rent, cheap!) | | Intel Corporation MS: CH6-210 Phone: 480-554-9092 pgr: 602-868-6512 | | jreynold@sedona.ch.intel.com http://www-aec.ch.intel.com/~jreynold/ | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message