From 71164ee9fe1abf649ced47a9df7119ff1bc4eec7 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 2 Nov 2023 13:29:45 +0900 Subject: network: disable IPv6AcceptRA= in several default config Also, - drop DHCP=no, as it is the default setting, - enable IPv6SendRA= for wifi access point, - enable MulticastDNS= for wifi adhoc mode. --- network/80-auto-link-local.network.example | 1 - network/80-container-ve.network | 1 + network/80-container-vz.network | 1 + network/80-vm-vt.network | 1 + network/80-wifi-adhoc.network | 2 ++ network/80-wifi-ap.network.example | 2 ++ 6 files changed, 7 insertions(+), 1 deletion(-) (limited to 'network') diff --git a/network/80-auto-link-local.network.example b/network/80-auto-link-local.network.example index 7f6a14ac41..286b532496 100644 --- a/network/80-auto-link-local.network.example +++ b/network/80-auto-link-local.network.example @@ -16,6 +16,5 @@ Property=ID_NET_AUTO_LINK_LOCAL_ONLY=1 [Network] LinkLocalAddressing=yes -DHCP=no IPv6AcceptRA=no MulticastDNS=yes diff --git a/network/80-container-ve.network b/network/80-container-ve.network index d295d131aa..5e94041be6 100644 --- a/network/80-container-ve.network +++ b/network/80-container-ve.network @@ -27,4 +27,5 @@ DHCPServer=yes IPMasquerade=both LLDP=yes EmitLLDP=customer-bridge +IPv6AcceptRA=no IPv6SendRA=yes diff --git a/network/80-container-vz.network b/network/80-container-vz.network index 7d902e78bd..a8b4d462a0 100644 --- a/network/80-container-vz.network +++ b/network/80-container-vz.network @@ -26,4 +26,5 @@ DHCPServer=yes IPMasquerade=both LLDP=yes EmitLLDP=customer-bridge +IPv6AcceptRA=no IPv6SendRA=yes diff --git a/network/80-vm-vt.network b/network/80-vm-vt.network index 7979871e2c..a58f753cfc 100644 --- a/network/80-vm-vt.network +++ b/network/80-vm-vt.network @@ -26,4 +26,5 @@ DHCPServer=yes IPMasquerade=both LLDP=yes EmitLLDP=customer-bridge +IPv6AcceptRA=no IPv6SendRA=yes diff --git a/network/80-wifi-adhoc.network b/network/80-wifi-adhoc.network index d7a341d018..fd3faca60c 100644 --- a/network/80-wifi-adhoc.network +++ b/network/80-wifi-adhoc.network @@ -17,3 +17,5 @@ WLANInterfaceType=ad-hoc [Network] LinkLocalAddressing=yes +IPv6AcceptRA=no +MulticastDNS=yes diff --git a/network/80-wifi-ap.network.example b/network/80-wifi-ap.network.example index 6ea1024312..09de9192d7 100644 --- a/network/80-wifi-ap.network.example +++ b/network/80-wifi-ap.network.example @@ -17,3 +17,5 @@ WLANInterfaceType=ap Address=0.0.0.0/24 DHCPServer=yes IPMasquerade=both +IPv6AcceptRA=no +IPv6SendRA=yes -- cgit v1.2.3