From owner-freebsd-questions@FreeBSD.ORG Tue Jul 18 15:30:53 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B44B16A4E2 for ; Tue, 18 Jul 2006 15:30:53 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22F1843D46 for ; Tue, 18 Jul 2006 15:30:51 +0000 (GMT) (envelope-from greenwood.andy@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1459102uge for ; Tue, 18 Jul 2006 08:30:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uSYotn+IbdYW9n1vwwSPAt0Smi91qDJQ+FQ9KMuoLR8jpFRDPkJcy3c8Wk7MN/DtqZ8+Qni/NqxsaawFaCrsyuThVxBQZu/o/WgOgMqHE13Nb94eDS2Yy2cKArp4shnVAb8VEt1/+ld+3KAjrdz50JUo/dk+Y01t3+h5SRsV42c= Received: by 10.78.175.14 with SMTP id x14mr1614794hue; Tue, 18 Jul 2006 08:30:50 -0700 (PDT) Received: by 10.78.200.16 with HTTP; Tue, 18 Jul 2006 08:30:50 -0700 (PDT) Message-ID: <3ee9ca710607180830o538c9d45p98bbc87ef7ab09c1@mail.gmail.com> Date: Tue, 18 Jul 2006 11:30:50 -0400 From: "Andy Greenwood" To: "Free BSD Questions list" In-Reply-To: <20060718152444.GA23912@teddy.fas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060718152444.GA23912@teddy.fas.com> Subject: Re: Adding a (non default) route via rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 15:30:53 -0000 in rc.conf, put something like this: static_routes="legacy" route_legacy="-net 192.168.2 192.168.1.150" the static_routes line is a list of network names that you want to put routes in for, then each name gets its own route_name line. As for your sanity check, I don't see why it would be a problem. On 7/18/06, stan wrote: > What's th sytax for addid a static (non default) route via rc.conf? > > And while I'm here, how about a sanity check to make certain this is really > what I want to do. > > Historicaly, the machine in question has lived on a network with only one > gateway off that net. Now, as part of a transition, I'm changing the > default route to point to a new address, but the old (ex default troute > machine) still is the only way to certain legacy networks. > > > Is this the best way to handle this? > > -- > U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror > - New York Times 9/3/1967 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >