]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: mark container/VM/namespace networks as not required for online + disable...
authorLennart Poettering <lennart@poettering.net>
Fri, 7 Feb 2025 17:08:51 +0000 (18:08 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 9 Feb 2025 10:37:38 +0000 (19:37 +0900)
commit9ccc369ff30138b9c2cf3ed8faf28d8fe42f8377
tree1c70a13e8e74d6b4f82ebf53c32d45a59bff00ee
parentf90efd2d13aac38417b2e0e08068fc0fba2da72a
network: mark container/VM/namespace networks as not required for online + disable DHCP lease persistency

These networks are not connections to upstream routers, but where we are
ourselves are the upstream router, hence it doesn't make too much sense
to require them to be up as default to determine if we are "online",
because they lead "in the wrong direction".

Also, disable DHCP lease persistency for these networks, since
container/VM/namespaces are generally shortlived, and typically have no
persistent identity. Moreover, the IP range we assign each VM/container
connection is just too small to permit persistency, as otherwise we'll
run out of leases way too quickly if VM/containers are restarted a bunch of
times with different MAC addresses (which I ran into).

I think these are better defaults, but of course these are only
defaults.
network/80-container-vb.network
network/80-container-ve.network
network/80-container-vz.network
network/80-namespace-ns.network
network/80-vm-vt.network