summaryrefslogtreecommitdiffstats
path: root/test/test-network/conf/dhcp-client-allow-list.network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-08-23 13:37:36 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-08-23 13:37:36 +0200
commitab47f96041e29be514d0a286f51dd9fd7b3a6b39 (patch)
tree32be37a079f86c8883383a84b80d67b1019e53c0 /test/test-network/conf/dhcp-client-allow-list.network
parentnetwork: dhcp4,ndisc: make addresses in Allow/DenyList= optionally take prefi... (diff)
downloadsystemd-ab47f96041e29be514d0a286f51dd9fd7b3a6b39.tar.xz
systemd-ab47f96041e29be514d0a286f51dd9fd7b3a6b39.zip
test-network: add more testcases for *Allow/DenyList=
Diffstat (limited to 'test/test-network/conf/dhcp-client-allow-list.network')
-rw-r--r--test/test-network/conf/dhcp-client-allow-list.network11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test-network/conf/dhcp-client-allow-list.network b/test/test-network/conf/dhcp-client-allow-list.network
new file mode 100644
index 0000000000..8228369887
--- /dev/null
+++ b/test/test-network/conf/dhcp-client-allow-list.network
@@ -0,0 +1,11 @@
+[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