From owner-freebsd-questions Tue Jun 22 10:57:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (Postfix) with ESMTP id 1168114CC0 for ; Tue, 22 Jun 1999 10:57:41 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id KAA22483; Tue, 22 Jun 1999 10:57:54 -0700 (PDT) Date: Tue, 22 Jun 1999 10:57:54 -0700 (PDT) From: Dan Busarow To: questions@FreeBSD.ORG Cc: Hugh Blandford Subject: Re: Signal 11 on Route during startup but ... In-Reply-To: <376E54A8.A4E15DE2@prime.net.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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