From owner-freebsd-questions@FreeBSD.ORG Tue Jun 20 14:59:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 8373C16A47C for ; Tue, 20 Jun 2006 14:59:06 +0000 (UTC) (envelope-from forrie@forrie.com) Received: from forrie.com (c-24-62-224-60.hsd1.nh.comcast.net [24.62.224.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88A4043D6E for ; Tue, 20 Jun 2006 14:58:58 +0000 (GMT) (envelope-from forrie@forrie.com) Received: from [192.168.230.27] (spk-gw.online-buddies.com [66.92.69.182]) (authenticated bits=0) by forrie.com (8.13.6/8.13.6) with ESMTP id k5KEwp0D077237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 20 Jun 2006 10:58:57 -0400 (EDT) (envelope-from forrie@forrie.com) Message-ID: <44980D49.3090000@forrie.com> Date: Tue, 20 Jun 2006 10:59:21 -0400 From: Forrest Aldrich User-Agent: Thunderbird 1.5.0.5 (Windows/20060619) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4496DAAE.8@forrie.com> <44wtbbvpqa.fsf@be-well.ilk.org> In-Reply-To: <44wtbbvpqa.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.2/1550/Mon Jun 19 13:01:35 2006 on mail.forrie.com X-Virus-Status: Clean Subject: Re: Bootup/netconfig oddity 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: Tue, 20 Jun 2006 14:59:06 -0000 The problem ended up being I had the incorrect netmask. They are using here 255.255.0.0 instead of 255.255.255.0 Lowell Gilbert wrote: > Forrest Aldrich writes: > > >> I have a freshly-built (cvsup'd today) FreeBSD_6.1 system which fails >> to set the default router upon boot. >> >> I have tried two routers, both on the same /24 segment... "network >> unreachable". These were set using the "defaultrouter=xxx.xx.xxx.xx" >> in /etc/rc.conf. >> >> However... if I manually use "dhclient em0", it works. >> >> I wonder if I'm hitting a bug, or ... >> > > It sounds like you're trying to set a default router that isn't on a > local network. When you *don't* use dhclient on em0, how do you > configure it? It needs to have an address and netmask that correspond > to the router in order to set a default route through the router. >