From owner-freebsd-questions Mon Dec 16 3: 5:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 934ED37B401 for ; Mon, 16 Dec 2002 03:05:21 -0800 (PST) Received: from invert.com (datacenterops.com [209.164.15.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id E870E43EB2 for ; Mon, 16 Dec 2002 03:05:15 -0800 (PST) (envelope-from mlist-freebsd@alt255.com) Received: (from jburke@localhost) by invert.com (8.11.3/8.11.3) id gBGB5Cn72668 for questions@FreeBSD.ORG; Mon, 16 Dec 2002 03:05:12 -0800 (PST) (envelope-from mlist-freebsd@alt255.com) Date: Mon, 16 Dec 2002 03:05:12 -0800 From: Justin Burke To: questions@FreeBSD.ORG Subject: Adding defaultroute Message-ID: <20021216110512.GZ59952@alt255.com> Mail-Followup-To: questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm having trouble getting a dual-homed system to setup the default route correctly on bootup. Here are the relevant lines from my rc.conf: ifconfig_rl0="inet xx.xx.xx.xxx netmask 255.255.255.0" ifconfig_xl0="DHCP" defaultrouter="xx.xx.xx.x" During bootup, the system enables the default route to go through the xl0 card, which I don't want; I'd like to enable to default route to go through the rl0 card. After the network cards are setup, here is what is printed to the console: route: writing to routing socket: File exists add net default: gateway xx.xx.xx.xx: File exists Any suggestions? Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message