2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-24 19:08:08 +00:00
isc-dhcp/client/tests/duid2_test.txt
Shawn Routhier 79818c9344 [master] Add -df option to client code to help share DUIDs
Add the "-df <duid file>" option to the client code in order
to make it easier to share DUIDs between a v4 instance and
a v6 instance.  This option instructs the client to search
the duid file for a DUID if it didn't find one in the main
lease file.

In addition add the infrastructure for running ATF tests
for the client and write some ATF tests for this patch.
2014-05-16 15:24:48 -07:00

67 lines
1.7 KiB
Plaintext

default-duid "\000\003\000\001\005\006\007\010\011\012";
lease {
interface "em1";
fixed-address 172.16.132.152;
option subnet-mask 255.255.255.0;
option dhcp-lease-time 60;
option routers 17.132.16.200;
option dhcp-message-type 5;
option dhcp-server-identifier 172.16.132.200;
option dhcp-renewal-time 30;
option dhcp-rebinding-time 45;
option domain-name "example.org";
renew 2 2014/05/13 22:11:53;
rebind 2 2014/05/13 22:11:53;
expire 2 2014/05/13 22:11:53;
}
lease {
interface "em1";
fixed-address 172.16.132.152;
option subnet-mask 255.255.255.0;
option dhcp-lease-time 60;
option routers 17.132.16.200;
option dhcp-message-type 5;
option dhcp-server-identifier 172.16.132.200;
option dhcp-renewal-time 30;
option dhcp-rebinding-time 45;
option domain-name "example.org";
foooo;
}
lease {
interface "em1";
fixed-address 172.16.132.152;
option subnet-mask 255.255.255.0;
option dhcp-lease-time 60;
option routers 17.132.16.200;
option dhcp-message-type 5;
option dhcp-server-identifier 172.16.132.200;
option dhcp-renewal-time 30;
option dhcp-rebinding-time 45;
option domain-name "example.org";
renew 2 2014/05/13 23:11:53;
rebind 2 2014/05/13 23:11:53;
expire 2 2014/05/13 23:11:53;
}
lease6 {
interface "em1";
ia-na 56:32:02:02 {
starts 1399436400;
renew 3;
rebind 15;
iaaddr 2000::37a {
starts 1399436400;
preferred-life 18;
max-life 30;
}
}
option dhcp6.client-id 0:1:0:1:1a:1:2d:7c:0:50:56:32:2:2;
option dhcp6.server-id 0:1:0:1:19:fd:aa:20:0:50:56:2f:de:8a;
option dhcp6.name-servers 2000::2;
}
default-duid "\000\003\000\001\017\020\021\022\023\024";