From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 11:02:03 2003 Return-Path: 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 2A6BC37B401 for ; Thu, 3 Jul 2003 11:02:03 -0700 (PDT) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EA6D4400D for ; Thu, 3 Jul 2003 11:02:02 -0700 (PDT) (envelope-from stanb@panix.com) Received: from panix.com (brillig.panix.com [166.84.1.76]) by mail1.panix.com (Postfix) with ESMTP id 47E3F4900C for ; Thu, 3 Jul 2003 14:00:02 -0400 (EDT) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by panix.com (Postfix) with ESMTP id 2DA7B2AA37 for ; Thu, 3 Jul 2003 14:00:02 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 19Y8NF-0002Iy-00 for ; Thu, 03 Jul 2003 14:00:01 -0400 Date: Thu, 3 Jul 2003 14:00:01 -0400 From: stan To: Free BSD Questions list Message-ID: <20030703180001.GB8587@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.21 X-Uptime: 13:49:28 up 17 days, 51 min, 2 users, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: FW: 2 NIC's (one dhcp) and default route issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 18:02:03 -0000 I'm building a machine with 2 nic's. They will be on seperate subnets, and in the long run both will have fixed addresses. However at the moment I've set one of these up for dhcp. The fixed addres NIC should be the one thta has the default route associated with it, and I have a defaultrouter= statement in /etc/rc.conf. However, when i boot the machine netstat shows that teh dhcp interface has aquired the default route. How can I correct this? I tried adding "supersede routersxxx.xxx.xxx.xx" in /etc/dhclient.conf, but this does not seem to work. The machine is 4STABLE, if thta matters. Thanks. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ----- End forwarded message ----- -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin