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
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')
-rw-r--r--network/80-container-host0.network2
-rw-r--r--network/80-container-ve.network2
-rw-r--r--network/80-container-vz.network2
3 files changed, 3 insertions, 3 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
diff --git a/network/80-container-ve.network b/network/80-container-ve.network
index c42c7cc25..ac796bfb0 100644
--- a/network/80-container-ve.network
+++ b/network/80-container-ve.network
@@ -20,4 +20,4 @@ LinkLocalAddressing=yes
DHCPServer=yes
IPMasquerade=yes
LLDP=yes
-EmitLLDP=yes
+EmitLLDP=customer-bridge
diff --git a/network/80-container-vz.network b/network/80-container-vz.network
index 69a060782..3d532d6f6 100644
--- a/network/80-container-vz.network
+++ b/network/80-container-vz.network
@@ -19,4 +19,4 @@ LinkLocalAddressing=yes
DHCPServer=yes
IPMasquerade=yes
LLDP=yes
-EmitLLDP=yes
+EmitLLDP=customer-bridge