On 4/3/25 15:44, Friedrich Weber wrote:
>>> - when removing a fabric, the IP addresses defined on the interfaces
>>> remain until the next reboot. I guess the reason is that ifupdown2
>>> doesn't remove IP addresses when the corresponding stanza vanishes. Not
>>> sure if this can be easily fixed -- if not, maybe this would be worth a
>>> note in the docs?
>>
>> Umm, I think `ifreload -a` should remove all the addresses? At least it
>> works on my machine :)
>>
>> But I'll check again.
> 
> I took a closer look -- seems I can only reproduce this if
> /etc/network/interfaces contains an empty `iface INTERFACE inet manual`
> stanza for the interface. Without such a stanza, the IP address is
> removed correctly.

`manual` means, that IP addresses are configured manually by the user,
so if ifupdown2 encounters an address configured on that interface it
won't remove it, since you're telling it with manual that it isn't
responsible for managing addresses on that interface. So I'd say that's
expected with that line?


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to