From owner-freebsd-current@FreeBSD.ORG Sun Dec 7 14:22:28 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A27316A4CE for ; Sun, 7 Dec 2003 14:22:28 -0800 (PST) Received: from mail.paymentonline.com (mail.paymentonline.com [63.236.114.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E62943FD7 for ; Sun, 7 Dec 2003 14:22:27 -0800 (PST) (envelope-from freebsd-current@paymentonline.net) Received: (qmail 34803 invoked from network); 7 Dec 2003 22:20:07 -0000 Received: from evrtwa1-ar16-4-40-004-158.evrtwa1.dsl-verizon.net (HELO chris2) (4.40.4.158) by mail.paymentonline.com with SMTP; 7 Dec 2003 22:20:07 -0000 Message-ID: <019a01c3bd10$beccb900$9e042804@chris2> From: "Chris Ochs" To: References: <00cc01c3bc93$d947c680$9e042804@chris2> <20031207131534.I7085@carver.gumbysoft.com> Date: Sun, 7 Dec 2003 14:23:31 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: defaultrouter/static routes not picked up from /etc/rc.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2003 22:22:28 -0000 Yes it was the spaces causing the problem. You know I've run freebsd for what 6 years now and never knew spaces mattered in rc.conf. Chris > On Sat, 6 Dec 2003, Chris Ochs wrote: > > > I installed from the 5.2-beta iso two days ago, cvsup'd from current and > > rebuilt everything. On boot up it configures the interfaces fine except for > > the default route and static routes, it say's that defaultrouter and > > static_routes is not set. I set the defaultrouter and static routes in > > /etc/defaults/rc.conf and it picks it up there just fine. Any ideas why > > this happens? > > > > Here is my /etc/rc.conf > > > v try without spaces > > defaultrouter ="63.236.114.1" > > hostname="ic3.paymentonline.com" > > ifconfig_bge0="inet 63.236.114.7 netmask 255.255.255.0" > > ifconfig_bge1="inet 10.100.2.6 netmask 255.255.255.0" > > > > static_routes = "00" > > route_00 = "10.100.0.0/16 10.100.2.1" > > >