Date: Wed, 3 Jul 2002 02:24:45 -0600 From: "John Nielsen" <stable@jnielsen.net> To: "James Vella" <JamesV@myrealbox.com>, <freebsd-stable@FreeBSD.ORG> Subject: Re: adding persistent routes Message-ID: <009d01c2226b$168d76d0$0900a8c0@max> References: <1025684244.4f5e4ff9JamesV@myrealbox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "James Vella" <JamesV@myrealbox.com> To: <freebsd-stable@FreeBSD.ORG> Sent: Wednesday, July 03, 2002 2:17 AM Subject: adding persistent routes > hi guys, > > 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 > > appologies to these who regard this a dumb question It's not a dumb question, but it does belong on another forum (namely freebsd-questions). Anyway, look at the route(8) manpage if you haven't already. Here's the basic syntax to add a route: route add target.address.or.network router.address For example: route add 10.0.0.0/24 192.168.3.1 Will make 192.168.3.1 the router for 10.0.0.1 - 10.0.0.254. There are a few different formats you can use to specify a network, or just specify a single address if that's all you want. JN 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?009d01c2226b$168d76d0$0900a8c0>