1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-26 14:04:03 +03:00
systemd/test/test-network/conf/25-dhcp-client-ipv6-only.network
Yu Watanabe 46f2eb517c test-network: add tests for DHCP IPv6 only mode
For [DHCPv4] IPv6OnlyMode= and [DHCPServer] IPv6OnlyPreferredSec=.
2023-10-11 21:42:13 +09:00

17 lines
351 B
SYSTEMD

# 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
[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