From bbc0c09448668bc2b0687cd13f172cda1a9b8131 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 6 May 2016 22:44:13 +0200 Subject: 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. --- network/80-container-host0.network | 2 +- network/80-container-ve.network | 2 +- network/80-container-vz.network | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'network') 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 -- cgit v1.2.1