From owner-freebsd-questions@FreeBSD.ORG Sun Aug 9 00:38:40 2009 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 A8D351065670 for ; Sun, 9 Aug 2009 00:38:40 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f191.google.com (mail-qy0-f191.google.com [209.85.221.191]) by mx1.freebsd.org (Postfix) with ESMTP id 68A898FC1D for ; Sun, 9 Aug 2009 00:38:40 +0000 (UTC) Received: by qyk29 with SMTP id 29so2106787qyk.3 for ; Sat, 08 Aug 2009 17:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=bI7a0+XXG0g9KAXbjRUmP04n6HvEXaLv6WWgeVdb8BY=; b=we70ZNsxLNbEKso6sKb7in/rNBZPLtG6LhSIY2DYxwsiDLToGuPiawhpDmxNt9UPyj Js74PDznlQWsxMw3sjHMjr9vfSwyJ3YiGktjUepsYys+ASV0N5kahdIZJcijBXJ6bVjU Ax/6mEMV5uB41ZAOBe7Fhtp9AHK2Hy82LDmKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=P4JesIfK9/xCUQSMDCZZfi8GGiEj709YZ+b7my7WX5byP3ALZltmEyXyy5S8/jB1Q5 g1HrfCfZ78K/lgvONRpQhR8R3yGfM2nmT8P72KC1f/eKl0lV4YyanJWuttITuft0VRh/ 3a4uba9OxUMGVjy2lD17bRNEUn4QuAJ258o24= MIME-Version: 1.0 Received: by 10.229.95.69 with SMTP id c5mr466709qcn.47.1249778319917; Sat, 08 Aug 2009 17:38:39 -0700 (PDT) Date: Sat, 8 Aug 2009 17:38:39 -0700 Message-ID: <560f92640908081738m31ac75a5pf9f6c4822e427dae@mail.gmail.com> From: Nerius Landys To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Setting up LAN: no route to host 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: Sun, 09 Aug 2009 00:38:40 -0000 I'm trying to set up a LAN that is isolated from the internet, and I don't know what to put in /etc/rc.conf for certain variables. I'm running FreeBSD 7.1 with the latest patches. So far my /etc/rc.conf file has the following lines: defaultrouter="192.168.0.1" # I would like to leave this blank, but I put something here anyways. hostname="speedy.i" ifconfig_fxp0="inet 192.168.0.254 network 255.255.255.0" ifconfig_fxp0="up" My /etc/hosts includes this line: 192.168.0.254 speedy.i speedy Now when I am logged in to this machine and I "ping 192.168.0.254", I get: ping: sendto: No route to host I'm just trying to set up a LAN between a few computers, and actually, I don't know what to put in the "defaultrouter" field in /etc/rc.conf. I've tried leaving it blank, but that didn't help. By the way I will probably be having more questions about configuring a home router, so please bear with me.