Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2005 21:19:29 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        current@dino.sk
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: HEADSUP: OpenBSD dhclient incoming
Message-ID:  <20050615.211929.103236830.imp@bsdimp.com>
In-Reply-To: <200506151140.56908.current@dino.sk>
References:  <20050615061009.GA11914@odin.ac.hmc.edu> <20050615.003020.99022728.imp@bsdimp.com> <200506151140.56908.current@dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200506151140.56908.current@dino.sk>
            Milan Obuch <current@dino.sk> writes:
: On Wednesday 15 June 2005 08:30, M. Warner Losh wrote:
: ...
: >
: > ifconfig fxp0 1.2.3.4/24
: >
: > will kill dhclient every time for me.
: >
: 
: Well, I would consider this a feature, not a bug, and a convenient one. It 
: happens on me from time to time that I have DHCP configured on one interface, 
: then after move to another place I issue 'ifconfig fxp0 ....' and some time 
: after network suddenly stops working due to dhclient running and deleting my 
: manually entered setting.
: Where there also 'ifconfig fxp0 DHCP' for consistency...
: I know this could be easily done with some scripting, but I could not 
: resist :)

The problem that I have with it is that if I then unplug and plug the
cable in (say press-ganging my laptop into service to test static IP
addresses) causes dhclient to run again.  I'm not sure that's a bug,
but it is a behavior change from the old dhclient.  It is doing what I
told it to do, but much more enthusiastically.  I'm not sure what to
suggest to fix it, however...

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050615.211929.103236830.imp>