Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 10:57:54 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        questions@FreeBSD.ORG
Cc:        Hugh Blandford <hugh@island.net.au>
Subject:   Re: Signal 11 on Route during startup but ...
Message-ID:  <Pine.BSF.3.96.990622105009.22257N-100000@java.dpcsys.com>
In-Reply-To: <376E54A8.A4E15DE2@prime.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hugh Blandford wrote:
> 
> > Hi there,
> >
> > I was using the following with real IPs:
> >
> > static_routes="-net 203.aaa.bbb.0 -netmask 0xffffff00 203.yyy.xxx.130"
> >
> > in rc.conf.
> >
> > If I use a similar command in rc.local it works.
> >
> > route add -net 203.aaa.bbb.0/24 203.yyy.xxx.130

Hugh,

You put route "names" in static_routes, not the arguments to the
route command.  The args go in route_{name}  like this

static_routes="floor1 floor2 floor3"
route_floor1="192.168.2.1 -netmask 255.255.255.240 192.168.1.2"
route_floor2="192.168.2.17 -netmask 255.255.255.240 192.168.1.2"
route_floor3="192.168.2.25 -netmask 255.255.255.240 192.168.1.2"

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990622105009.22257N-100000>