From owner-freebsd-net Mon Jan 8 3:56:11 2001 Delivered-To: freebsd-net@freebsd.org Received: from bart.esiee.fr (bart.esiee.fr [147.215.1.20]) by hub.freebsd.org (Postfix) with ESMTP id E56E637B400 for ; Mon, 8 Jan 2001 03:55:51 -0800 (PST) Received: (from bonnetf@localhost) by bart.esiee.fr (8.11.1/8.11.1) id f08Btfc09312 for freebsd-net@freebsd.org; Mon, 8 Jan 2001 12:55:41 +0100 (MET) From: Frank Bonnet Message-Id: <200101081155.f08Btfc09312@bart.esiee.fr> Subject: rc.network clarification in adding routes (4.2) To: freebsd-net@freebsd.org Date: Mon, 08 Jan 2001 12:55:41 MET X-Mailer: Elm [revision: 212.5] Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi I need some clarification on variables setup to add statics routes in the followin part on rc.network. # Set up any static routes. This should be done before router discovery. # if [ -n "${static_routes}" ]; then for i in ${static_routes}; do eval route_args=\$route_${i} route add ${route_args} done fi I've put the following in rc.conf to add internals routes static_routes="res40" res40=" -net 147.215.40 147.215.20.1 255.255.255.0" static_routes="res80" res80=" -net 147.215.80 147.215.20.1 255.255.255.0" but the route command give an invalid argument error message. Thanks for any infos. -- Frank Bonnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message