From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 12:02:45 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 AF0F737B404 for ; Thu, 3 Jul 2003 12:02:45 -0700 (PDT) Received: from argosy.ca (www.argosy.ca [138.73.18.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0FE443FA3 for ; Thu, 3 Jul 2003 12:02:44 -0700 (PDT) (envelope-from hhwoo@argosy.ca) Received: from a7n8x (h24-87-8-66.vc.shawcable.net [24.87.8.66]) by argosy.ca (8.12.9/8.12.9) with SMTP id h63J4S6h006349; Thu, 3 Jul 2003 16:04:28 -0300 (ADT) (envelope-from hhwoo@argosy.ca) Message-ID: <001101c34195$d9bf20a0$0900a8c0@a7n8x> From: "Han Hwei Woo" To: "stan" , "Free BSD Questions list" References: <20030703180001.GB8587@teddy.fas.com> Date: Thu, 3 Jul 2003 11:58:58 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: 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 19:02:46 -0000 The correct syntax is: supersede routers 0.0.0.0; Did you forget the semicolon in the config also? /etc/dhclient.conf is the way to do this, so make sure everything in the file is correct. Han Hwei Woo http://www.argosy.ca/~hhw ----- Original Message ----- From: "stan" To: "Free BSD Questions list" Sent: Thursday, July 03, 2003 11:00 AM Subject: FW: 2 NIC's (one dhcp) and default route issue > > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >