Date: Wed, 3 Oct 2001 21:48:55 +1000 From: Edwin Groothuis <edwin@mavetju.org> To: Noor Dawod <noor@comrax.com> Cc: freebsd-questions@freebsd.org Subject: Re: Question about two NIC's Message-ID: <20011003214855.C559@k7.mavetju.org> In-Reply-To: <PHEBIOJOBJJLIIJCOINKKEDCEEAA.noor@comrax.com>; from noor@comrax.com on Wed, Oct 03, 2001 at 01:25:10PM %2B0200 References: <PHEBIOJOBJJLIIJCOINKKEDCEEAA.noor@comrax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 03, 2001 at 01:25:10PM +0200, Noor Dawod wrote: > Giving a FreeBSD machine that is connected to two different networks > using two NIC's, how can I configure it to use two different > 'defaultrouter' settings in rc.conf? Looking in /etc/defaults/rc.conf, > there's only one place that I can configure the defaultrouter. There is only one default route. You said the machine is connected to two different networks, which indirectly indicates that they have two different IP spaces. Let the routes for the one network point to the gateway for that network, let the routes for the other networking point to the gateway for that network and everything will be working fine. If, by chance, both the gateways have a connection to a global IP space, let the default route point to the one with the fastests link :-) Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ 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?20011003214855.C559>