From owner-freebsd-questions Tue Feb 27 19:13:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.hutchtel.net (ns1.hutchtel.net [206.9.112.100]) by hub.freebsd.org (Postfix) with ESMTP id BB55837B71A for ; Tue, 27 Feb 2001 19:13:11 -0800 (PST) (envelope-from jpaetzel@hutchtel.net) Received: from mark9 (hutch-236.hutchtel.net [206.10.67.164]) by ns1.hutchtel.net (8.9.1/8.9.0) with SMTP id VAA11662; Tue, 27 Feb 2001 21:12:57 -0600 (CST) Message-ID: <003401c0a1fd$8a3e2420$6100000a@vladsempire.net> From: "Josh Paetzel" To: "Robert Daniels" , References: <009101c0a0e9$a7a89000$43701518@cx628451A> Subject: Re: NATD Problems, HELP! Date: Wed, 28 Feb 2001 21:12:21 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Robert Daniels" To: 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