Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 10:20:24 +0200 (CEST)
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        James Vella <JamesV@myrealbox.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: adding persistent routes
Message-ID:  <200207030820.g638KOh87092@hugo10.ka.punkt.de>
In-Reply-To: <1025684244.4f5e4ff9JamesV@myrealbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

James Vella wrote:

> i have spent many an hour tring to find a way to add another static route (apart from the default gateway)within freebsd v4.5.
> 
> please shed some light

man rc.conf ;-)

Short example:

static_routes="foo bar baz"
route_foo="-net 192.168.0.0 -netmask 255.255.255.0 10.0.0.1"
route_bar="-net ..."
route_baz="-host ..."

You get the idea.

HTH,
Patrick

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




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