Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Commit 16432cb

Browse files
committed
tests: assigning IPs in dhcpd.com
Signed-off-by: Reto Achermann <achreto@gmail.com>
1 parent ba76131 commit 16432cb

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

kernel/tests/dhcpd.conf

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ option domain-name-servers ns1.example.org, ns2.example.org;
55
ddns-update-style none;
66

77
subnet 172.31.0.0 netmask 255.255.255.0 {
8-
range 172.31.0.12 172.31.0.16;
8+
range 172.31.0.118 172.31.0.118;
99
option routers 172.31.0.20;
1010
option subnet-mask 255.255.255.0;
1111
default-lease-time 1;
@@ -20,4 +20,34 @@ host nrk1 {
2020
host nrk2 {
2121
hardware ethernet 56:b4:44:e9:62:d1;
2222
fixed-address 172.31.0.11;
23+
}
24+
25+
host nrk3 {
26+
hardware ethernet 56:b4:44:e9:62:d2;
27+
fixed-address 172.31.0.12;
28+
}
29+
30+
host nrk4 {
31+
hardware ethernet 56:b4:44:e9:62:d3;
32+
fixed-address 172.31.0.13;
33+
}
34+
35+
host nrk5 {
36+
hardware ethernet 56:b4:44:e9:62:d4;
37+
fixed-address 172.31.0.14;
38+
}
39+
40+
host nrk6 {
41+
hardware ethernet 56:b4:44:e9:62:d5;
42+
fixed-address 172.31.0.15;
43+
}
44+
45+
host nrk7 {
46+
hardware ethernet 56:b4:44:e9:62:d6;
47+
fixed-address 172.31.0.16;
48+
}
49+
50+
host nrk8 {
51+
hardware ethernet 56:b4:44:e9:62:d7;
52+
fixed-address 172.31.0.17;
2353
}

0 commit comments

Comments
 (0)