Networking problem

Konrad Heuer kheuer2 at gwdg.de
Thu Mar 4 04:29:44 PST 2004


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 at gwdg.de)  ____            ___  _______
GWDG                           / __/______ ___ / _ )/ __/ _ \
Am Fassberg                   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen             /_/ /_/  \__/\__/____/___/____/
Germany



More information about the freebsd-questions mailing list