From owner-freebsd-questions Mon Mar 23 06:28:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA21726 for freebsd-questions-outgoing; Mon, 23 Mar 1998 06:28:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA21530 for ; Mon, 23 Mar 1998 06:26:27 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id QAA15084; Mon, 23 Mar 1998 16:20:12 +0200 (EET) (envelope-from ru) From: Ruslan Ermilov Message-Id: <199803231420.QAA15084@relay.ucb.crimea.ua> Subject: Re: adding static routes In-Reply-To: <35166E02.B0F@mhi-tx.com> from "Robert" at "Mar 23, 98 08:13:22 am" To: robert@mhi-tx.com (Robert) Date: Mon, 23 Mar 1998 16:20:12 +0200 (EET) Cc: freebsd-questions@FreeBSD.ORG X-My-Interests: Unix,Oracle,Networking X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Once Robert wrote: > I need to add 4 routes to various networks, I can do this with the route > add command but I wanted to use the "static routes = "" " entry in the > rc.conf and I am not sure exactly what to put in there.... > it says a list of routes but how do I list them?? > separate by commas ?? put colon between dest+gateway?? have not been > able to find an example... > thanks in advance for answering such a newbie question... > static_routes="intranet uc deposit pf" # Set to static route list (or leave empty). route_intranet="-net 192.168 127.1 -reject" route_uc="-net 192.168.4 192.168.1.6" route_deposit="-net 192.168.5 192.168.5.1" route_pf="-net 192.168.200 194.93.177.115" -- Ruslan Ermilov System Administrator ru@ucb.crimea.ua United Commercial Bank +380-652-247647 Simferopol, Crimea 2426679 ICQ Network, UIN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message