Re: HEADSUP: OpenBSD dhclient incoming

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Wed, 15 Jun 2005 21:19:29 -0600 (MDT)
In message: <200506151140.56908.current_at_dino.sk>
            Milan Obuch <current_at_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
Received on Thu Jun 16 2005 - 01:20:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC