From owner-freebsd-stable Mon Oct 8 13:43:50 2001 Delivered-To: freebsd-stable@freebsd.org Received: from todd.grand-rapids.mi.us (mail.grmuseum.org [216.202.132.43]) by hub.freebsd.org (Postfix) with ESMTP id 1B07437B405 for ; Mon, 8 Oct 2001 13:43:45 -0700 (PDT) Message-ID: <221C759285B78647AEE6181FD6AF36A7ADE172@bambi.grand-rapids.mi.us> From: "Henshaw, Dave" To: stable@FreeBSD.ORG Subject: invalid argument with static_routes Date: Mon, 8 Oct 2001 16:43:41 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C15039.EA3FEB20" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C15039.EA3FEB20 Content-Type: text/plain; charset="iso-8859-1" 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" The errors I get are as follows: route : writing to routing socket : Invalid argument add net : Invalid argument I have looked everywhere I can think of to find an answer to what might be causing this and still don't have a clue. If anyone else knows I could sure use some advice! Thanks ------_=_NextPart_001_01C15039.EA3FEB20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable invalid argument with static_routes

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=3D"route_whatever"
route_whatever=3D"-net netid = gateway"

The errors I get are as follows:

route : writing to routing socket : Invalid = argument
add net : Invalid argument

I have looked everywhere I can think of to find an = answer to what might be causing this and still don't have a = clue.

If anyone else knows I could sure use some = advice!

Thanks

------_=_NextPart_001_01C15039.EA3FEB20-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message