Skip to content

Commit

Permalink
tests: assigning IPs in dhcpd.com
Browse files Browse the repository at this point in the history
Signed-off-by: Reto Achermann <[email protected]>
  • Loading branch information
achreto committed Aug 24, 2023
1 parent ba76131 commit 16432cb
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion kernel/tests/dhcpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ option domain-name-servers ns1.example.org, ns2.example.org;
ddns-update-style none;

subnet 172.31.0.0 netmask 255.255.255.0 {
range 172.31.0.12 172.31.0.16;
range 172.31.0.118 172.31.0.118;
option routers 172.31.0.20;
option subnet-mask 255.255.255.0;
default-lease-time 1;
Expand All @@ -20,4 +20,34 @@ host nrk1 {
host nrk2 {
hardware ethernet 56:b4:44:e9:62:d1;
fixed-address 172.31.0.11;
}

host nrk3 {
hardware ethernet 56:b4:44:e9:62:d2;
fixed-address 172.31.0.12;
}

host nrk4 {
hardware ethernet 56:b4:44:e9:62:d3;
fixed-address 172.31.0.13;
}

host nrk5 {
hardware ethernet 56:b4:44:e9:62:d4;
fixed-address 172.31.0.14;
}

host nrk6 {
hardware ethernet 56:b4:44:e9:62:d5;
fixed-address 172.31.0.15;
}

host nrk7 {
hardware ethernet 56:b4:44:e9:62:d6;
fixed-address 172.31.0.16;
}

host nrk8 {
hardware ethernet 56:b4:44:e9:62:d7;
fixed-address 172.31.0.17;
}

0 comments on commit 16432cb

Please sign in to comment.