Connect to Internet
Remko Lodder
remko at elvandar.org
Wed Apr 7 13:31:12 PDT 2004
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
More information about the freebsd-questions
mailing list