From owner-freebsd-questions Tue Nov 7 22:48:36 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 464C437B479 for ; Tue, 7 Nov 2000 22:48:34 -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); Tue, 7 Nov 2000 22:47:06 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eA86mM179403; Tue, 7 Nov 2000 22:48:22 -0800 (PST) (envelope-from cjc) Date: Tue, 7 Nov 2000 22:48:17 -0800 From: "Crist J . Clark" To: Anthony Fox Cc: Andy Farkas , questions@FreeBSD.ORG Subject: Re: two ethernets, nat, firewall Message-ID: <20001107224817.N75251@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <054F7DAA9E54D311AD090008C74CE9BD01766D6D@exchange.panasonicfa.com> <20001107181314.A9311@misty.cs.virginia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20001107181314.A9311@misty.cs.virginia.edu>; from adf5j@cs.virginia.edu on Tue, Nov 07, 2000 at 06:13:14PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Nov 07, 2000 at 06:13:14PM -0500, Anthony Fox wrote: [snip] > > Yes, that is a good idea. But I believe his problem is with routing. The > > default route is probably set to the modem. There needs to be an > > additional static route to the internal network. > > > > Try adding the following to /etc/rc.conf (after defaultrouter): > > > > static_routes="homenet" > > route_homenet="192.168.0.0/24 192.168.0.1 -interface" > > > > ...and then see if you can "see other machines". Make sure your routing > > table is correct (netstat -rn). > > I didn't do any of this as the local route was set up automatically. > > Now I need to set up the firewall. > > Thanks for all the help. You should not have to add that route manually. It should be handled automatically by ifconfig(8). How are you configuring the interfaces in rc.conf? That is, what are the ifconfig_ lines? What is the output of, # ifconfig -a # netstat -rn Once the system is up? -- 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