Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 1998 16:20:12 +0200 (EET)
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        robert@mhi-tx.com (Robert)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: adding static routes
Message-ID:  <199803231420.QAA15084@relay.ucb.crimea.ua>
In-Reply-To: <35166E02.B0F@mhi-tx.com> from "Robert" at "Mar 23, 98 08:13:22 am"

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



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