summaryrefslogtreecommitdiffstats
path: root/test/test-network/conf/25-dhcp-client-ipv6-only.network
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-network/conf/25-dhcp-client-ipv6-only.network')
-rw-r--r--test/test-network/conf/25-dhcp-client-ipv6-only.network19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/test-network/conf/25-dhcp-client-ipv6-only.network b/test/test-network/conf/25-dhcp-client-ipv6-only.network
new file mode 100644
index 0000000..1ec63b1
--- /dev/null
+++ b/test/test-network/conf/25-dhcp-client-ipv6-only.network
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Match]
+Name=veth99
+
+[Network]
+# DHCPv4 is also enabled here, but will be stopped when an IPv6 address is acquired.
+DHCP=yes
+IPv6Token=::1a:2b:3c:4d
+
+[DHCPv4]
+IPv6OnlyMode=yes
+
+[Route]
+Gateway=_ipv6ra
+Destination=2001:1234:5:9fff:ff:ff:ff:ff/128
+
+[IPv6AcceptRA]
+# To check DNS and NTP servers are really obtained by DHCPv6
+UseDNS=no