From owner-freebsd-questions@FreeBSD.ORG Thu Mar 4 04:29:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F290216A4CE for ; Thu, 4 Mar 2004 04:29:43 -0800 (PST) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F75F43D3F for ; Thu, 4 Mar 2004 04:29:43 -0800 (PST) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.9p2/8.12.8) with ESMTP id i24CTfrB003237; Thu, 4 Mar 2004 13:29:41 +0100 (CET) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)i24CTeZr003234; Thu, 4 Mar 2004 13:29:40 +0100 (CET) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Thu, 4 Mar 2004 13:29:40 +0100 (CET) From: Konrad Heuer To: Kathy Quinlan In-Reply-To: <02af01c401de$810a4d40$fe00a8c0@wskatinka> Message-ID: <20040304132606.T965@gwdu60.gwdg.de> References: <02af01c401de$810a4d40$fe00a8c0@wskatinka> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Networking problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 12:29:44 -0000 On Thu, 4 Mar 2004, Kathy Quinlan wrote: > I have a friend who can not get his FreeBSD 5.2 server to act as a > gateway, from the internal network we can ping the external network > card, but no further. From the server we can ping the entire world. > > I had him bring it over and set up my server (FreeBSD 4.8R as the > gateway) so I now have: > > ------------------ > > >From the laptop I can ping as far as the external nic on his server. > >From his server I can ping the world. > > I have googled, looked at the mailing list, but can not find the problem > :o( I have re installed the server, incase he goofed up, same problem, I > have swapped the external network card, same problem. > > Netstat -rn shows the default gateway (as my server) > > In rc.conf it has gateway_enable="YES" > > I am out of ideas What IP addresses are used within the internal network? If you use addresses like 10., 172.16.-172.31. or 192.168.1.-191.168.254., you should use natd instead of routed on the server connected to the world outside. Regards Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany