From: Murphy, Ged (Bolton)
I was thinking along the lines of stopping the DHCP service and calling AddIPAddress, which should be the same as inserting the address manually in the registry. I haven't looked into this though, so might not work.
I kind of like the Windows design: the DHCP client service is actually implemented in dhcpcsvc.dll (you can see the "ServiceMain" export). This allows concentration of all usermode IP address/registry stuff in one DLL. AddIPAddress would then call into dhcpcsvc.
GvG