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.
This commit is contained in:
Lennart Poettering 2016-05-06 22:44:13 +02:00
parent 7272b25e16
commit bbc0c09448
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ Name=host0
DHCP=yes
LinkLocalAddressing=yes
LLDP=yes
EmitLLDP=yes
EmitLLDP=customer-bridge
[DHCP]
UseTimezone=yes

View File

@ -20,4 +20,4 @@ LinkLocalAddressing=yes
DHCPServer=yes
IPMasquerade=yes
LLDP=yes
EmitLLDP=yes
EmitLLDP=customer-bridge

View File

@ -19,4 +19,4 @@ LinkLocalAddressing=yes
DHCPServer=yes
IPMasquerade=yes
LLDP=yes
EmitLLDP=yes
EmitLLDP=customer-bridge