Date: Tue, 26 Jul 2005 18:53:07 -0700 From: Peter Wemm <peter@wemm.org> To: Mike Jakubik <mikej@rogers.com> Cc: freebsd-current@freebsd.org, Mateusz =?utf-8?q?J=C4=99drasik?= <imachine@toya.net.pl> Subject: Re: dhclient sucks Message-ID: <200507261853.07513.peter@wemm.org> In-Reply-To: <42E6D11C.9020905@rogers.com> References: <42E583F9.3070703@rogers.com> <200507261104.35752.peter@wemm.org> <42E6D11C.9020905@rogers.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507261853.07513.peter>