[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#40346: Reassigning 8 years old still present bug



Hi again,

On 4/6/07, Bernd Eckenfels <be-mail2007@lina.inka.de> wrote:

> I can reproduce it, but it doesn't seem to be net-tools fault, as the
> interface is correctly removed (ifconfig and ip a l doesn't list it
> anymore). I'm not even sure if this is a bug or not, but I think it's
> up to kernel maintainers to decide on that.

This is often explained on linux-net in the last time. It is due to linux
host (instead of interface) based addressing model. You need to remove the
address instead of downing the interface. Removing is not currently
supported by ifconfig for ipv4. So it is somewhat a net-tools bug.

I kept testing this one. And ifconfig does the same as ip addr del: it
removes the address!

And the connection, even when still exists to the socket layer, cannot
transfer anything: incoming packets ignored, outgoing packets not sent
(I don't know if they stall in a queue or are discarded), ping
ignored, arp unanswered.

So, I don't know why you say that this doesn't work for ifconfig. I
now think that the bug should be closed for good.

--
Martín Ferrari

Reply to: