> There's a bug. Setting the down socket flag with ioctl > via the netdev_down call brings the interface down > but is not enough to de-configure > the interface. The system still responds to the initramfs's > IP after a new IP is brought up, at least with linux 3.2.0. > > (But the initramfs's IP does not show in ifconfig. I'll > investigate further with ip.) > > Help figuring out what needs to be done with the kernel's > socket ioctl calls is appreciated. Near as I can tell > from the kernel's code the IFF_DYNAMIC flag is not useful.... > I can poke the ioctls with a stick but I'd rather > understand the model and do the right thing and I'm not > sure where to look to understand this. > > Regards, > > Karl <k...@meme.com> > Free Software: "You don't pay back, you pay forward." > -- Robert A. Heinlein
Bug still exists in up-to-date Debian Wheezy. The system doesn't show new IP address. But it's reachable by new IP address as well as old (unlock IP from initramfs) address. Please fix this.