HEADSUP: OpenBSD dhclient incoming
M. Warner Losh
imp at bsdimp.com
Thu Jun 16 03:20:12 GMT 2005
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
More information about the freebsd-current
mailing list