From bbc0c09448668bc2b0687cd13f172cda1a9b8131 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 6 May 2016 22:44:13 +0200 Subject: [PATCH] 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(-) diff --git a/network/80-container-host0.network b/network/80-container-host0.network index 561bd1a3b83..b012cf98cb7 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 c42c7cc2596..ac796bfb077 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 69a06078208..3d532d6f60f 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