Date: Mon, 8 Oct 2001 16:43:41 -0400 From: "Henshaw, Dave" <dhenshaw@ci.grand-rapids.mi.us> To: stable@FreeBSD.ORG Subject: invalid argument with static_routes Message-ID: <221C759285B78647AEE6181FD6AF36A7ADE172@bambi.grand-rapids.mi.us>
next in thread | raw e-mail | index | archive | help
[-- Attachment #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 [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> <TITLE>invalid argument with static_routes</TITLE> </HEAD> <BODY> <P><FONT SIZE=2>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.:</FONT></P> <P><FONT SIZE=2>static_routes="route_whatever"</FONT> <BR><FONT SIZE=2>route_whatever="-net netid gateway"</FONT> </P> <P><FONT SIZE=2>The errors I get are as follows:</FONT> </P> <P><FONT SIZE=2>route : writing to routing socket : Invalid argument</FONT> <BR><FONT SIZE=2>add net : Invalid argument</FONT> </P> <P><FONT SIZE=2>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.</FONT> </P> <P><FONT SIZE=2>If anyone else knows I could sure use some advice!</FONT> </P> <P><FONT SIZE=2>Thanks</FONT> </P> </BODY> </HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?221C759285B78647AEE6181FD6AF36A7ADE172>
