aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-05-06 22:44:13 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-09 15:45:31 +0200
commitbbc0c09448668bc2b0687cd13f172cda1a9b8131 (patch)
tree45feda9030d97bf1aa6f8861dabf5db9ee833b7b /network/80-container-host0.network
parentnetworkd: reworkd LLDP emission to allow control of propagation level (diff)
downloadsystemd-bbc0c09448668bc2b0687cd13f172cda1a9b8131.tar.gz
systemd-bbc0c09448668bc2b0687cd13f172cda1a9b8131.tar.bz2
systemd-bbc0c09448668bc2b0687cd13f172cda1a9b8131.zip
network: allow LLDP packets to cross non-customer bridges for container network interfaces
This changes the default .network files we ship for nspawn containers to set EmitLLDP=customer-bridge in order to allow propagation of the LLDP packets across bridges. This is useful so that "networkctl status" shows all peers connected to a virtual container network, collecting this data via LLDP. This is safe since the default configuration for these interfaces does not bridge these links to external interfaces, but relies on IP routing for this.
Diffstat (limited to 'network/80-container-host0.network')
-rw-r--r--network/80-container-host0.network2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/80-container-host0.network b/network/80-container-host0.network
index 561bd1a3b..b012cf98c 100644
--- a/network/80-container-host0.network
+++ b/network/80-container-host0.network
@@ -17,7 +17,7 @@ Name=host0
DHCP=yes
LinkLocalAddressing=yes
LLDP=yes
-EmitLLDP=yes
+EmitLLDP=customer-bridge
[DHCP]
UseTimezone=yes