Date: Sun, 10 Oct 1999 08:28:55 +0200 From: Udo Schweigert <ust@cert.siemens.de> To: Arcady Genkin <a.genkin@utoronto.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Specifying default route Message-ID: <19991010082855.A12040@alaska.cert.siemens.de> In-Reply-To: <87905bg29a.fsf@main.wgaf.net> References: <87905bg29a.fsf@main.wgaf.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 10, 1999 at 02:26:25AM -0400, Arcady Genkin wrote:
> Hi all:
>
> What's the correct way of specifying default route, if a machine has 2
> nics? I imagine there should be something like
>
> default_route="ed1"
>
I just checked "man rc.conf" and it gives (under 3.3-RELEASE):
......
defaultrouter
(str) If not set to NO then create a default route to this
host name or IP address (use IP address value if you also
require this router to get to a name server!)
.......
Anyway: the case for specifying an interface is not described here, but
in your case you should do
defaultrouter="-interface ed1"
in your /etc/rc.conf.local.
Regards
-------------------------------------------------------------------------------
Udo Schweigert || Voice : +49 89 636 42170
Siemens AG, Siemens CERT || Fax : +49 89 636 41166
ZT IK 3 || email : Udo.Schweigert@mchp.siemens.de
D-81730 Muenchen / Germany || : ust@cert.siemens.de
PGP fingerprint || 2A 53 F6 A6 30 59 64 02 6B C4 E0 73 B2 C9 6C E7
-------------------------------------------------------------------------------
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?19991010082855.A12040>
