From owner-freebsd-questions Fri Mar 3 22:54:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cytosine.dhs.org (cx272244-a.orng1.occa.home.com [24.1.177.149]) by hub.freebsd.org (Postfix) with ESMTP id F38E637B686 for ; Fri, 3 Mar 2000 22:54:42 -0800 (PST) (envelope-from bhishan@cytosine.dhs.org) Received: (from bhishan@localhost) by cytosine.dhs.org (8.9.3/8.9.3) id WAA00680; Fri, 3 Mar 2000 22:54:38 -0800 (PST) (envelope-from bhishan) From: Bhishan Hemrajani Message-Id: <200003040654.WAA00680@cytosine.dhs.org> Subject: Re: help w/ routed daemon In-Reply-To: <200003040002.QAA32269@www.geocrawler.com> from "Charles W. Johnson" at "Mar 3, 2000 04:02:28 pm" To: "Charles W. Johnson" Date: Fri, 3 Mar 2000 22:54:38 -0800 (PST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Two things you need to do. man natd man ipfw You need to have a redirect line in your rc.firewall, and have natd running with: natd -n de1 (de1 is the NIC connected to your cable modem) --bhishan > This message was sent from Geocrawler.com by "Charles W. Johnson" > Be sure to reply to that address. > > Hi all, > > I am writing for help in configuring routed on a multi-homed machine that I am running. I have > two network cards in it, one w/ the IP address of 192.168.168.6 (internal network), the other with > the IP address of 24.18.0.253 (connection to the Internet via a cable modem). For the cable > modem to work, I must have the following line in my rc.conf: > > defaultrouter="24.18.0.1" > > I also have 'gateway="YES"' in my rc.conf. > > My trouble is this: While I can access the internet just fine on the multi-homed host, none of > the other machines on the internal network can access the net through the multi-homed host. > On them, I have "defaultrouter=192.168.168.6" entered into the rc.conf or 192.168.168.6 entered > into the router field in the TCP/IP setup. Previously, when I was using only a dial-up PPP > connection to the Internet, all machines were able to access the Net. > Ergo, my question is this: What else should I do to get the multi-homed host to forward > packets between the 2 network cards? I'm also running DNS on this machine and it works fine > (ie if I try to ping www.altavista.com on another machine, it can at least resolve the IP address > for Altavista). > I've spent hours working on this, reading man pages, trying different configurations, etc. and > thus greatly appreciate any and all help on this matter. > > Sincerely, > > Charles Johnson > kf4ayt@christcom.net > > Geocrawler.com - The Knowledge Archive > > > 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