Package: ifupdown
Severity: wishlist

Hi,

I just stumbled across a unfortunate circumstance with ifupdown.
If a host is configured to DHCP adressing and you then change it
to static adressing the dhclient will still be running.
This will lead to an address-change on the given interface, once
the lease expires, because dhclient will reconfigure the interface.

Therefore I would request to kill a DHCP-client, if
the interface for which it was started, is reconfigured to
static adressing. I don't know if this is possible, because
I don't know if ifupdown is doing some state tracking,
but if not a possible solution could eventually look like that:

Interface eth0 is brought up, which uses static addressing.
Therefore we check if any dhclient is running which watches
eth0 (Don't know how this works for other dhclients, but dhclient3
gets the interface as argument, so this should be fairly easy to
determine) and kill it.

Any drawbacks with that suggestion?

Best Regards,
Patrick



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to