From owner-freebsd-questions@FreeBSD.ORG Sat Jun 14 12:04:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17098106567A for ; Sat, 14 Jun 2008 12:04:33 +0000 (UTC) (envelope-from pascal@clermont.cc) Received: from mail.clermont.cc (clermont.cc [69.70.120.58]) by mx1.freebsd.org (Postfix) with ESMTP id DF50B8FC1E for ; Sat, 14 Jun 2008 12:04:32 +0000 (UTC) (envelope-from pascal@clermont.cc) Received: from localhost (localhost [127.0.0.1]) by mail.clermont.cc (Postfix) with ESMTP id DB15F1CC38; Sat, 14 Jun 2008 08:08:15 -0400 (EDT) Received: from mail.clermont.cc ([127.0.0.1]) by localhost (mail.clermont.cc [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 33883-07; Sat, 14 Jun 2008 08:08:15 -0400 (EDT) Received: from dwarf.clermont.cc (dwarf.clermont.cc [192.168.100.10]) (Authenticated sender: pascal@clermont.cc) by mail.clermont.cc (Postfix) with ESMTPA id 9FF221CC2E; Sat, 14 Jun 2008 08:08:15 -0400 (EDT) Message-ID: <48537BAD.6020308@clermont.cc> Date: Sat, 14 Jun 2008 08:05:01 +0000 From: Pascal S Clermont User-Agent: Thunderbird 2.0.0.14 (X11/20080606) MIME-Version: 1.0 To: Edward Lay , freebsd-questions@freebsd.org References: <200806140735.m5E7Zr2t019325@dewey.soe.berkeley.edu> In-Reply-To: <200806140735.m5E7Zr2t019325@dewey.soe.berkeley.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Unable to reach hosts outside my subnet after initial installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2008 12:04:33 -0000 Edward Lay wrote: >> From: Derek Ragona >> > > >> Check and/or create /etc/nsswitch.conf so you are looking in files and >> dns for hosts. >> > > >> Check or create /etc/resolv.conf make sure your upsteam DNS servers >> are listed in this file along with any local caching DNS servers. >> > > Thanks for the suggestion. Those files already exist with valid > entries though. In any event, it doesn't seem like a hostname problem > as I can nslookup arbitrary hosts and then try and then ping the IP > numbers directly which fails for hosts beyond the local subnet. > > It seems more like a router/gateway network configuration type of > problem. I've just discovered that when I ping the gateway's IP > address, I get no answer. Now I know the gateway is functioning as > every other host on the network can reach the rest of the internet and > in fact, I've just successfully ping'd the gateway from the machine > where I'm writing this message. So I'm wondering what could cause this > or at least some way of approaching the problem. > > thanks > > ed > > There are 3 things that need to be configured in order to have a network connection on an initial start, the IP, Gateway and Route. I am ruling out the fact that it might be the firewall, cause you state that this on an an initial install and I would try another ether cable if after this setup it still doesn't work. make sure both these entry are in your rc.conf : ifconfig_vr0="inet 192.168.0.100 netmask 255.255.255.0" defaultrouter="192.168.0.1" You will need to replace "vr0" by your network card, and replace all IPs for your own. if you modify the settings in the rc.conf you can execute /etc/netstart in order for the settings to take effect. Pascal S. Clermont