From owner-freebsd-current@FreeBSD.ORG Wed Jul 27 01:53:08 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AA4D16A41F for ; Wed, 27 Jul 2005 01:53:08 +0000 (GMT) (envelope-from peter@wemm.org) Received: from daintree.corp.yahoo.com (daintree.corp.yahoo.com [216.145.52.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0A0C43D45 for ; Wed, 27 Jul 2005 01:53:07 +0000 (GMT) (envelope-from peter@wemm.org) Received: by daintree.corp.yahoo.com (Postfix, from userid 2154) id D606819773; Tue, 26 Jul 2005 18:53:07 -0700 (PDT) From: Peter Wemm To: Mike Jakubik Date: Tue, 26 Jul 2005 18:53:07 -0700 User-Agent: KMail/1.7.2 References: <42E583F9.3070703@rogers.com> <200507261104.35752.peter@wemm.org> <42E6D11C.9020905@rogers.com> In-Reply-To: <42E6D11C.9020905@rogers.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507261853.07513.peter@wemm.org> Cc: freebsd-current@freebsd.org, Mateusz =?utf-8?q?J=C4=99drasik?= Subject: Re: dhclient sucks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 01:53:08 -0000 On Tuesday 26 July 2005 05:11 pm, Mike Jakubik wrote: > Peter Wemm wrote: > >Oh, how I wish dhclient could handle two interfaces! The old one > >allowed two interfaces, but was rather stupid about it. There was > > no way to specify which interface had priority, so the last one > > usually won with its default routes. > > > >My gateway box at home has two ethernet interfaces that need dhcp. > > It seems I'm going to have to hack dhclient-script or something to > > get it to do something sensible. It shouldn't be that painful. > > > >Linux (gentoo in this case) has dhcpcd, which take switches to allow > > you to tell it to not mess with resolv.conf or the default route. > > No hacking or pain required. Unlike ours dhclient. > > You can customize some of the behaviour of dhclient. See ``man 5 > dhclient.conf'' for details. I'd love to know which items in dhclient.conf allow you to disable the default route handling and the resolv.conf handling.. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5