Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2001 12:55:41 MET
From:      Frank Bonnet <bonnetf@bart.esiee.fr>
To:        freebsd-net@freebsd.org
Subject:   rc.network clarification in adding routes (4.2)
Message-ID:  <200101081155.f08Btfc09312@bart.esiee.fr>

next in thread | raw e-mail | index | archive | help
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




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