test-network: add a testcase for DHCP static lease

This commit is contained in:
borna-blazevic
2021-05-27 15:57:33 +09:00
committed by Yu Watanabe
parent c517a49bf7
commit ffaece68bc
3 changed files with 37 additions and 0 deletions
@@ -0,0 +1,9 @@
[Match]
Name=veth99
[Network]
IPv6AcceptRA=no
DHCP=ipv4
[DHCPv4]
ClientIdentifier=mac
@@ -0,0 +1,17 @@
[Match]
Name=veth-peer
[Network]
IPv6AcceptRA=no
Address=10.1.1.1/24
DHCPServer=yes
[DHCPServer]
PoolOffset=0
PoolSize=20
EmitDNS=yes
DNS=9.9.9.9
[DHCPServerStaticLease]
MACAddress=12:34:56:78:9a:bc
Address=10.1.1.3