From owner-freebsd-questions Tue Nov 7 20:12:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ares.cs.Virginia.EDU (ares.cs.Virginia.EDU [128.143.137.19]) by hub.freebsd.org (Postfix) with ESMTP id 0E10537B479 for ; Tue, 7 Nov 2000 20:12:47 -0800 (PST) Received: from localhost.localdomain (IDENT:root@misty.cs.Virginia.EDU [128.143.137.140]) by ares.cs.Virginia.EDU (8.9.2/8.9.2/UVACS-2000040300) with ESMTP id XAA25315; Tue, 7 Nov 2000 23:12:45 -0500 (EST) Received: (from adf5j@localhost) by localhost.localdomain (8.9.3/8.8.2) id SAA09316; Tue, 7 Nov 2000 18:13:14 -0500 Date: Tue, 7 Nov 2000 18:13:14 -0500 From: Anthony Fox To: Andy Farkas , questions@freebsd.org Subject: Re: two ethernets, nat, firewall Message-ID: <20001107181314.A9311@misty.cs.virginia.edu> Reply-To: Anthony Fox References: <054F7DAA9E54D311AD090008C74CE9BD01766D6D@exchange.panasonicfa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from andyf@speednet.com.au on Wed, Nov 08, 2000 at 11:56:46AM +1100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, I got it working. > That shouldn't be a problem because he said they are PCI cards which can > share IRQs. I assume that the "link" light is on? This is the case. The two cards share IRQs just fine. One of the PCI slots on the motherboard is not working. I switched the cards around and finally found a combination that worked. > 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. Anthony To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message