From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 13:31:12 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 2F0C616A4CE for ; Wed, 7 Apr 2004 13:31:12 -0700 (PDT) Received: from mail.elvandar.org (cust.94.120.adsl.cistron.nl [195.64.94.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id E891D43D4C for ; Wed, 7 Apr 2004 13:31:11 -0700 (PDT) (envelope-from remko@elvandar.org) Message-ID: <40746401.3080505@elvandar.org> Date: Wed, 07 Apr 2004 22:26:41 +0200 From: Remko Lodder X-Accept-Language: en-us, en MIME-Version: 1.0 To: RazorOnFreeBSD References: <03b601c41caa$56d6c3f0$8215670c@razorwork> In-Reply-To: <03b601c41caa$56d6c3f0$8215670c@razorwork> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at elvandar.org cc: freebsd-questions@freebsd.org Subject: Re: Connect to Internet 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: Wed, 07 Apr 2004 20:31:12 -0000 RazorOnFreeBSD wrote: > Hello, > > I just setup a freebsd box with the 5.1 release to be a gateway/firewall. > The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. > Here is my problem, I can't connect to Internet from the Freebsd box. > I have DSL and my ISP is AT&T, I have a static IP wich means I don't need to run PPP to connect. > > FreeBSD Internet NIC is : 12.103.20.x > > When I type ifconfig my NIC looks fine, up and running : > > rl0 : 12.103.20.x > > For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) > > If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to "ping www.yahoo.com" for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web.... > Do you have dns servers listed in /etc/resolv.conf? nameserver nameserver arp -n -a , does that mention the router's ip and mac addres? Try it (: -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl A Dutch community for helping newcomers on the hackerscene