summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2020-12-26 15:27:55 +0100
committerLennart Poettering <lennart@poettering.net>2021-01-06 20:00:49 +0100
commit2ec6191c38e8f7dc4a27b53c7a315a43c3b65ae1 (patch)
tree47b1d9981a1f16240387ec6b76018014677bf2e2 /network
parent8b1ac00fa904a145957743f6c663f6645aeb7d6c (diff)
downloadsystemd-2ec6191c38e8f7dc4a27b53c7a315a43c3b65ae1.tar.gz
networkd: Enable IPv6SendRA on builtin network files
RAs trigger neighbor discovery which allows users to query the LL address of the container/VM via `ip neighbor get dev`. This is useful as it gives users an easy way to connect to the container without needing LLMNR or mDNS to resolve the hostname of the container to an IP address. In practice, this allows connecting with only networkd enabled and without resolved running in the host/container.
Diffstat (limited to 'network')
-rw-r--r--network/80-container-ve.network1
-rw-r--r--network/80-container-vz.network1
-rw-r--r--network/80-vm-vt.network1
3 files changed, 3 insertions, 0 deletions
diff --git a/network/80-container-ve.network b/network/80-container-ve.network
index 7e8ff48d75..393bd639e0 100644
--- a/network/80-container-ve.network
+++ b/network/80-container-ve.network
@@ -23,3 +23,4 @@ DHCPServer=yes
IPMasquerade=yes
LLDP=yes
EmitLLDP=customer-bridge
+IPv6SendRA=yes
diff --git a/network/80-container-vz.network b/network/80-container-vz.network
index b0ea57a67c..aec3b9fc84 100644
--- a/network/80-container-vz.network
+++ b/network/80-container-vz.network
@@ -22,3 +22,4 @@ DHCPServer=yes
IPMasquerade=yes
LLDP=yes
EmitLLDP=customer-bridge
+IPv6SendRA=yes
diff --git a/network/80-vm-vt.network b/network/80-vm-vt.network
index 45c5ab1734..b54196353a 100644
--- a/network/80-vm-vt.network
+++ b/network/80-vm-vt.network
@@ -22,3 +22,4 @@ DHCPServer=yes
IPMasquerade=yes
LLDP=yes
EmitLLDP=customer-bridge
+IPv6SendRA=yes