summaryrefslogtreecommitdiffstats
path: root/test/test-network/conf/25-dhcp-client-allow-list.network
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-network/conf/25-dhcp-client-allow-list.network')
-rw-r--r--test/test-network/conf/25-dhcp-client-allow-list.network12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test-network/conf/25-dhcp-client-allow-list.network b/test/test-network/conf/25-dhcp-client-allow-list.network
new file mode 100644
index 0000000000..b8a49a0378
--- /dev/null
+++ b/test/test-network/conf/25-dhcp-client-allow-list.network
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Match]
+Name=veth99
+
+[Network]
+DHCP=ipv4
+IPv6AcceptRA=false
+
+[DHCPv4]
+# DenyList= will be ignored
+AllowList=192.168.5.0/24 192.168.6.0/24
+DenyList=192.168.5.0/24