mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-10-29 16:19:24 +01:00

Extend test_ip_address_match to support IPv6 and to test the netmask/prefix length while it reads the local address since those are retrieved using the same API. Modify testNetconfig to validate the prefix lengths, change the prefix lengths to be less common values (not 24 bits for IPv4 or 64 for IPv6), minor cleanup.
16 lines
423 B
ISCdhcpd
16 lines
423 B
ISCdhcpd
default-lease-time 600; # 10 minutes
|
|
max-lease-time 7200; # 2 hours
|
|
|
|
option broadcast-address 192.168.127.255;
|
|
option routers 192.168.1.254;
|
|
option subnet-mask 255.255.128.0;
|
|
|
|
subnet 192.168.0.0 netmask 255.255.128.0
|
|
{
|
|
option routers 192.168.1.1;
|
|
option subnet-mask 255.255.128.0;
|
|
option domain-name-servers 192.168.1.1;
|
|
range 192.168.1.10 192.168.1.20;
|
|
range 192.168.1.100 192.168.1.200;
|
|
}
|