]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: allow LLDP packets to cross non-customer bridges for container network inter...
authorLennart Poettering <lennart@poettering.net>
Fri, 6 May 2016 20:44:13 +0000 (22:44 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 9 May 2016 13:45:31 +0000 (15:45 +0200)
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
network/80-container-ve.network
network/80-container-vz.network

index 561bd1a3b8316cda4d372be795da0139558d6c26..b012cf98cb71d68ded89451e6e42c188cfe0a416 100644 (file)
@@ -17,7 +17,7 @@ Name=host0
 DHCP=yes
 LinkLocalAddressing=yes
 LLDP=yes
-EmitLLDP=yes
+EmitLLDP=customer-bridge
 
 [DHCP]
 UseTimezone=yes
index c42c7cc2596805c15ea547858a1a0674c00c0675..ac796bfb0771320cbad69f2464bc8402d2653c67 100644 (file)
@@ -20,4 +20,4 @@ LinkLocalAddressing=yes
 DHCPServer=yes
 IPMasquerade=yes
 LLDP=yes
-EmitLLDP=yes
+EmitLLDP=customer-bridge
index 69a06078208de529ab9c71cdff322bd64e3ec50a..3d532d6f60f6ce417bf9cdb391d680016ddc5ad0 100644 (file)
@@ -19,4 +19,4 @@ LinkLocalAddressing=yes
 DHCPServer=yes
 IPMasquerade=yes
 LLDP=yes
-EmitLLDP=yes
+EmitLLDP=customer-bridge