From owner-freebsd-questions Tue Oct 8 15:43:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F8A937B404 for ; Tue, 8 Oct 2002 15:43:46 -0700 (PDT) Received: from priv-edtnes16-hme0.telusplanet.net (defout.telus.net [199.185.220.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71E0E43E75 for ; Tue, 8 Oct 2002 15:43:45 -0700 (PDT) (envelope-from james@icionline.ca) Received: from box ([142.179.173.230]) by priv-edtnes16-hme0.telusplanet.net (InterMail vM.5.01.04.02 201-253-122-122-102-20011128) with SMTP id <20021008223952.NLVE7607.priv-edtnes16-hme0.telusplanet.net@box> for ; Tue, 8 Oct 2002 16:39:52 -0600 Date: Tue, 8 Oct 2002 16:50:41 -0600 From: James Earl To: freebsd-questions@freebsd.org Subject: Re: Dual-Homed Message-Id: <20021008165041.11807165.james@icionline.ca> In-Reply-To: <3DA347ED.6080305@blessed.net> References: <3DA347ED.6080305@blessed.net> X-Mailer: Sylpheed version 0.8.3 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm not sure if I totally understand... I'm trying. Perhaps you want your FreeBSD machine to be a bridge, not a gateway? On Tue, 08 Oct 2002 17:02:37 -0400 Steven King wrote: > I need help trying to get my FreeBSD machine dual-homed. I will try to > explain the situation as best as possible.. > > Interface1 -> hub1 -> Cable Modem (DHCP) -> Internet > Interface2 -> hub2 -> Router -> Frame Relay -> Internet > > I am trying to use Interface1 for cvsup's and things like that (frame is > only 56k) . I have to use Interface2 for web server, mail and dns.. > > When I set up /etc/rc.conf this way it loads up the interfaces no > problem and the cable modem interface works fine but on the interface2 > side I cannot get to the internet nor can anyone get to it from that > side. I can ping the boxes on the local subnet but thats it. > > from rc.conf: > > network_interfaces="rl0 de0 lo0" > defaultrouter="NO" > ifconfig_rl0="DHCP" > ifconfig_de0="inet netmask 255.255.255.0" > > I cannot figure out what else is needed to fix this.. I have tried > static_routes, gateway_enable, forward_sourceroute in rc.conf and > net.inet.ip.forwarding=1 in sysctl.conf.. I have tried several different > netmasks for interface2 thinking that was the problem but that dont do > anything.. messed with defaultrouter and everything I can think of.. All > of the examples I have seen on the web and searching through the mailing > list are of using the FBSD box as a gateway for an internal network to > go out through the FBSD box onto the internet. > > Any help would be appreciated.. > > Thank you > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message