If i understand the problem, using DietPi distrib, on Rpi4, when you bring down a container (how is network configured on CT ? Bridge ? Macvlan ? Routed ?), it also brings down host network ?
Could you print result of :
incus network list
incus info local:
incus info
I bieleve, reading the links you posted, that it’s about how DietPi configures network, as “allow-hotplug” and not “auto”. It’s a strange behavior
Thanks for your response, no, I am not using lxd, I am using incus, and it is not related to DietPi network.
I only have a similar issue to the linked post.
Using only auto eth0 without allow-hotplug eth0 in /etc/network/interfaces fixed the issue, and restarting the host machine fixed the issue as well.
Editing /etc/network/interfaces requires jumping through several hops with my VPS server as I might need to disable some things first if I want it to stick.