From owner-freebsd-questions Tue Nov 7 7:25: 1 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 807F637B4CF for ; Tue, 7 Nov 2000 07:24:58 -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 KAA27433 for ; Tue, 7 Nov 2000 10:24:57 -0500 (EST) Received: (from adf5j@localhost) by localhost.localdomain (8.9.3/8.8.2) id FAA08674 for questions@FreeBSD.ORG; Tue, 7 Nov 2000 05:25:27 -0500 Date: Tue, 7 Nov 2000 05:25:27 -0500 From: Anthony Fox To: questions@FreeBSD.ORG Subject: two ethernets, nat, firewall Message-ID: <20001107052527.A8669@misty.cs.virginia.edu> Reply-To: Anthony Fox Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am having problems with network configuration. First, the following is how I am attempting to set up my network: One FreeBSD box acting as gateway and firewall with two ethernet cards. The outside ethernet card is xl0 with a static ip address. The internal nic card is dc0 with ip 192.168.0.1. One Debian linux box internally with one ethernet card at ip 192.168.0.2. Both machines are connected to a hub. The xl0 interface on the BSD box is connected to my dsl modem. However, I cannot ping either machine from either machine. The symptoms that I am observing are: when I ping from the linux machine to the BSD box, the light on the hub blinks. However, when I ping from the BSD box to the linux machine, the light on the hub does not blink at all. Also, when I try to add 192.168 as a net to the BSD box's routing table, it adds 192.168.0.1 to the lo0 interface automagically. I don't know why. Of course, thanks in advance for any and all help with this frustrating little problem. Anthony To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message