From 2ec6191c38e8f7dc4a27b53c7a315a43c3b65ae1 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sat, 26 Dec 2020 15:27:55 +0100 Subject: [PATCH] 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. --- network/80-container-ve.network | 1 + network/80-container-vz.network | 1 + network/80-vm-vt.network | 1 + 3 files changed, 3 insertions(+) diff --git a/network/80-container-ve.network b/network/80-container-ve.network index 7e8ff48d75c..393bd639e0f 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 b0ea57a67c1..aec3b9fc849 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 45c5ab17346..b54196353a4 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