Date: Tue, 9 Oct 2001 11:31:51 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Chris Johnson <cjohnson@palomine.net> Cc: "Henshaw, Dave" <dhenshaw@ci.grand-rapids.mi.us>, <stable@FreeBSD.ORG> Subject: Re: invalid argument with static_routes Message-ID: <Pine.BSF.4.33.0110091131230.96421-100000@resnet.uoregon.edu> In-Reply-To: <20011008164844.A21406@palomine.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Oct 2001, Chris Johnson wrote: > On Mon, Oct 08, 2001 at 04:43:41PM -0400, Henshaw, Dave wrote: > > When I attempt to use static_routes in /etc/rc.conf I get an error message > > indicating an invalid argument. I am using a private netid and the gateway > > is on my internal network. I have a default gateway pointing to my external > > interface. After the system starts and I do a 'route add -net netid > > gateway' it works fine.: > > > > static_routes="route_whatever" > > route_whatever="-net netid gateway" > > How about: > > static_routes="whatever" > route_whatever="netid gateway" If you specify 'netid' in CIDR slash notation (ie 192.168.0.0/24), the -net qualifier isn't needed. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0110091131230.96421-100000>