summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-11-02 05:29:45 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-11-03 03:41:52 +0100
commit71164ee9fe1abf649ced47a9df7119ff1bc4eec7 (patch)
treee50bf241e98465b37550c1d5de2983804e858ef2 /network
parentmeson: install newly added example .network file (diff)
downloadsystemd-71164ee9fe1abf649ced47a9df7119ff1bc4eec7.tar.xz
systemd-71164ee9fe1abf649ced47a9df7119ff1bc4eec7.zip
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.
Diffstat (limited to 'network')
-rw-r--r--network/80-auto-link-local.network.example1
-rw-r--r--network/80-container-ve.network1
-rw-r--r--network/80-container-vz.network1
-rw-r--r--network/80-vm-vt.network1
-rw-r--r--network/80-wifi-adhoc.network2
-rw-r--r--network/80-wifi-ap.network.example2
6 files changed, 7 insertions, 1 deletions
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