summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-21 14:06:08 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-21 20:58:59 +0100
commit2a5a6e05ca6e97a1764063174f452513ebed36d8 (patch)
tree198f5b5f881722afd703447dc97ff372a5ddec2e /network
parent8e1ad1eaf74cd8eadf6a9b14e5d6edb24ab2da91 (diff)
downloadsystemd-2a5a6e05ca6e97a1764063174f452513ebed36d8.tar.gz
systemd-2a5a6e05ca6e97a1764063174f452513ebed36d8.tar.bz2
systemd-2a5a6e05ca6e97a1764063174f452513ebed36d8.zip
network: turn on LLDP tx+rx for the default container network configuration
Containers are relatively trusted and the veth tunnels are small networks, hence let's turn on LLDP both ways for them.
Diffstat (limited to 'network')
-rw-r--r--network/80-container-host0.network2
-rw-r--r--network/80-container-ve.network2
2 files changed, 4 insertions, 0 deletions
diff --git a/network/80-container-host0.network b/network/80-container-host0.network
index b65cc6acbe..f0626f81b0 100644
--- a/network/80-container-host0.network
+++ b/network/80-container-host0.network
@@ -12,6 +12,8 @@ Name=host0
[Network]
DHCP=yes
LinkLocalAddressing=yes
+LLDP=yes
+EmitLLDP=yes
[DHCP]
UseTimezone=yes
diff --git a/network/80-container-ve.network b/network/80-container-ve.network
index 72c20eba55..abb265ddc4 100644
--- a/network/80-container-ve.network
+++ b/network/80-container-ve.network
@@ -15,3 +15,5 @@ Address=0.0.0.0/28
LinkLocalAddressing=yes
DHCPServer=yes
IPMasquerade=yes
+LLDP=yes
+EmitLLDP=yes