Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2001 16:48:44 -0400
From:      Chris Johnson <cjohnson@palomine.net>
To:        "Henshaw, Dave" <dhenshaw@ci.grand-rapids.mi.us>
Cc:        stable@FreeBSD.ORG
Subject:   Re: invalid argument with static_routes
Message-ID:  <20011008164844.A21406@palomine.net>
In-Reply-To: <221C759285B78647AEE6181FD6AF36A7ADE172@bambi.grand-rapids.mi.us>; from dhenshaw@ci.grand-rapids.mi.us on Mon, Oct 08, 2001 at 04:43:41PM -0400
References:  <221C759285B78647AEE6181FD6AF36A7ADE172@bambi.grand-rapids.mi.us>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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"

Chris Johnson

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7whEryeUEMvtGLWERAuAcAJ4j31lCPp6dpSP5QB/ITF0VnlxPPACfecqY
S8AyT3Bkg+0BYO6l9QpqZjI=
=Idi7
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011008164844.A21406>