forked from systemd/systemd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network: mark container/VM/namespace networks as not required for onl…
…ine + 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.
- Loading branch information
1 parent
f90efd2
commit 9ccc369
Showing
5 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,9 @@ | |
Kind=veth | ||
Name=vb-* | ||
|
||
[Link] | ||
RequiredForOnline=no | ||
|
||
[Network] | ||
KeepMaster=yes | ||
LinkLocalAddressing=no | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters