From owner-freebsd-stable Fri Feb 9 19:48:26 2001 Delivered-To: freebsd-stable@freebsd.org Received: from omahpop1.omah.uswest.net (omahpop1.omah.uswest.net [204.26.64.1]) by hub.freebsd.org (Postfix) with SMTP id 4BDFA37B401 for ; Fri, 9 Feb 2001 19:48:06 -0800 (PST) Received: (qmail 810 invoked by alias); 10 Feb 2001 03:48:04 -0000 Delivered-To: fixup-stable@freebsd.org@fixme Received: (qmail 805 invoked by uid 0); 10 Feb 2001 03:48:04 -0000 Received: from omah6400gw2poola28.omah.uswest.net (HELO kristen.shadowdale.net) (63.227.156.28) by omahpop1.omah.uswest.net with SMTP; 10 Feb 2001 03:48:04 -0000 Date: Fri, 9 Feb 2001 21:48:04 -0600 (CST) From: Virtual Bob To: Subject: those #!@% static routes In-Reply-To: <200102100231.VAA00143@world.std.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to add some static routes in rc.conf on a 3.5-stable. I tried various creative (but with right syntax) ways on command line and pretty much everything works (the routes added, confirmed by netstat -r). But no matter how I try, if I try to put it in rc.conf to have it configured during boot-up, it always result in "Invalid argument" error. What gives? I checked rc.network and it looked okay to me. The only thing that would prevent it that I could think of is some sort of pre-requisit to adding static routes. I've followed the handbook and several web pages but to no avail... ... ifconfig_ed0="inet 192.168.1.2 netmask 255.255.255.0" ... static_routes="route_01 route_02" route_01="-net 192.168.2.0 192.168.1.1" route_02="-net 192.168.3.0 192.168.1.1" ... ------------- clip here with virtual scissors -------------- ************************************************************ Keyboard stuck error. Press F1 to continue. Any unsolicited e-mails will be charged US$500 per e-mail, plus court cost. Your contribution to Bill Gates' personal wealth: US$359.17 ************************************************************ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message