From owner-freebsd-questions Sat Oct 9 23:25: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from phile.com.au (patty.accessunited.com.au [203.46.135.141]) by hub.freebsd.org (Postfix) with SMTP id B715415265 for ; Sat, 9 Oct 1999 23:23:14 -0700 (PDT) (envelope-from phile@phile.com.au) Received: from willie.accessunited.com.au (willie.accessunited.com.au [203.46.135.139] ) by phile.com.au (Hethmon Brothers Smtpd) ; Sun, 10 Oct 1999 16:26:43 +1000 Message-Id: <199910101626.4337052.6@phile.com.au> From: "Phillip" To: "freebsd-questions@freebsd.org" Date: Sun, 10 Oct 1999 16:23:33 +1100 (EDT) Reply-To: "Phillip" X-Mailer: PMMail 2.00.1500 for OS/2 Warp 4.00 In-Reply-To: <87905bg29a.fsf@main.wgaf.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Specifying default route Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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'm not sure why there isn't an option in /etc/rc.conf because I think from memory this is setup at time of installation. And depending on which machine is being used to route the packets into and out of your network, it may or may not be on your local machine. On my boxes, the line in /etc/rc.conf reads as: defaultrouter="123.45.67.8" (this is obviously a fictional IP # - but note it is an IP number and not an interface descriptor). Cheers Phillip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message