Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2004 13:29:40 +0100 (CET)
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        Kathy Quinlan <kat-free@kaqelectronics.dyndns.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Networking problem
Message-ID:  <20040304132606.T965@gwdu60.gwdg.de>
In-Reply-To: <02af01c401de$810a4d40$fe00a8c0@wskatinka>
References:  <02af01c401de$810a4d40$fe00a8c0@wskatinka>

next in thread | previous in thread | raw e-mail | index | archive | help

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:
>
> <ISP>----<My Server>-------<his Server>-------<laptop>
>
> >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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040304132606.T965>