test-network: set DNS= and NTP= for DHCP server

Now, RoutesToDNS= and RoutesToNTP= are enabled by default on DHCPv4
client. So, if DHCP server picks up DNS or NTP servers from uplink,
then the routes may break CI environment.

Hopefully fixes #19463.
This commit is contained in:
Yu Watanabe
2021-04-30 10:57:17 +02:00
committed by Frantisek Sumsal
parent 96ae72ce1a
commit 4bd7e99232
3 changed files with 9 additions and 0 deletions
@@ -4,7 +4,10 @@ Name=server
Address=192.168.5.1/24
IPForward=ipv4
DHCPServer=yes
[DHCPServer]
BindToInterface=no
PoolOffset=150
PoolSize=1
DNS=192.168.5.1
NTP=192.168.5.1
@@ -11,3 +11,5 @@ PoolOffset=10
PoolSize=50
EmitRouter=yes
Timezone=Europe/Berlin
DNS=192.168.5.1
NTP=192.168.5.1
@@ -9,3 +9,7 @@ IPv6SendRA=yes
[IPv6Prefix]
Prefix=2002:da8:1:0::/64
[DHCPServer]
DNS=192.168.5.1
NTP=192.168.5.1