From owner-freebsd-current@FreeBSD.ORG Wed Jul 27 00:10:49 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 C1CE716A41F for ; Wed, 27 Jul 2005 00:10:49 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id 2DD7443D45 for ; Wed, 27 Jul 2005 00:10:49 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 76429 invoked from network); 27 Jul 2005 00:10:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=6QVDR/RnqgoYvRN9Q7J4bk8kDpvxr67LXoQlRwcU+FiqsT/odpa8c9ML0wvdaFFTSHoklhLwIQXN+K1H6fhsr5RcJhUVxshM4cd1kgfdmzW5GDy7nwGwpduqsPyqE8x6gj0bsIAi9bbDp+HOj7Ch6ASoDpyxb08oirktxqZ7Edo= ; Received: from unknown (HELO ?172.16.0.199?) (mikej@rogers.com@69.193.222.195 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 27 Jul 2005 00:10:48 -0000 Message-ID: <42E6D11C.9020905@rogers.com> Date: Tue, 26 Jul 2005 20:11:08 -0400 From: Mike Jakubik User-Agent: Mozilla Thunderbird 1.0.5 (Windows/20050711) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Wemm References: <42E583F9.3070703@rogers.com> <200507261403.01515.imachine@toya.net.pl> <200507261104.35752.peter@wemm.org> In-Reply-To: <200507261104.35752.peter@wemm.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, =?UTF-8?B?TWF0ZXVzeiBKxJlkcmFzaWs=?= 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 00:10:49 -0000 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.