Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 21:12:21 -0600
From:      "Josh Paetzel" <jpaetzel@hutchtel.net>
To:        "Robert Daniels" <rdaniels38@home.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: NATD Problems, HELP!
Message-ID:  <003401c0a1fd$8a3e2420$6100000a@vladsempire.net>
References:  <009101c0a0e9$a7a89000$43701518@cx628451A>

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

----- Original Message -----
From: "Robert Daniels" <rdaniels38@home.com>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Tuesday, February 27, 2001 12:18 PM
Subject: NATD Problems, HELP!


Hello,
            I have a small network I am trying to get up. I have a
computer named FOO that is my gateway. I have a client named BAR. Now
I can get out on the internet just fine with foo. With computer BAR I
can ping FOO, telnet into FOO and also ping FOO default GATEWAY and
DNS server.  When I try to ping an address on the internet from
computer BAR  for instance 208.220.149.252   I get a host name look up
failure. If I but the later IP address in my hosts file with the
HOSTNAME on computer BAR it will ping the IP address. So I think the
problem Lies in computer BAR.  I don't have firewall or natd running
on computer BAR just computer FOO. my rc.conf on computer BAR is
basic. I just start the interface and set the default router to my
private class C IP address on computer FOO. Any help would be
apreciated.  Oh, I am running FreeBSD 4.2 release on both boxes.


Thank You,
Robert Daniels

Make sure that the rc.conf for FOO has the line gateway_enable="YES"
Then make sure that rc.conf for BAR has the line defaultrouter="IP of
FOO"

Put the DNS IPs into the resolv.conf of BAR and you are set to go.

Josh



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003401c0a1fd$8a3e2420$6100000a>