Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Apr 2004 22:26:41 +0200
From:      Remko Lodder <remko@elvandar.org>
To:        RazorOnFreeBSD <yann.luppo@attglobal.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Connect to Internet
Message-ID:  <40746401.3080505@elvandar.org>
In-Reply-To: <03b601c41caa$56d6c3f0$8215670c@razorwork>
References:  <03b601c41caa$56d6c3f0$8215670c@razorwork>

next in thread | previous in thread | raw e-mail | index | archive | help
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>
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



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