summaryrefslogtreecommitdiff
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
parent7272b25e163d1c7395ff0da1397511c7946c0873 (diff)
downloadsystemd-bbc0c09448668bc2b0687cd13f172cda1a9b8131.tar.gz
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.
-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 561bd1a3b8..b012cf98cb 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 c42c7cc259..ac796bfb07 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 69a0607820..3d532d6f60 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