From owner-freebsd-questions Tue Nov 7 7:57:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.generalsearch.net (smtp.generalsearch.net [64.14.229.169]) by hub.freebsd.org (Postfix) with ESMTP id 5EEC937B479 for ; Tue, 7 Nov 2000 07:57:08 -0800 (PST) Received: from tonyr.office.generalsearch.net (unknown [63.109.63.65]) by smtp.generalsearch.net (Postfix) with SMTP id 8A8DEFEE3; Tue, 7 Nov 2000 09:57:07 -0600 (CST) From: Anthony Rubin Date: Tue, 7 Nov 2000 09:52:18 -0600 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" To: Anthony Fox , questions@FreeBSD.ORG References: <20001107052527.A8669@misty.cs.virginia.edu> In-Reply-To: <20001107052527.A8669@misty.cs.virginia.edu> Subject: Re: two ethernets, nat, firewall MIME-Version: 1.0 Message-Id: <00110709521801.00384@tonyr.office.generalsearch.net> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday 07 November 2000 04:25 am, Anthony Fox wrote: > 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 What is the output of the following: sysctl net.inet.ip.forwarding and: ipfw show -- Anthony Rubin GeneralSearch.Com, Inc. tonyr@generalsearch.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message