diff options
author | root <root@tgmanage.gathering.org> | 2015-03-30 12:45:06 +0200 |
---|---|---|
committer | root <root@tgmanage.gathering.org> | 2015-03-30 12:45:06 +0200 |
commit | bb2abf7f0958a1b56d993ec2b7185462902ea6a0 (patch) | |
tree | edec9969fd64552a98af99e54c17c436dc994b74 /bootstrap/make-dhcpd6.pl | |
parent | d89553b58f2f644e62f17d07b2a3aadac165644b (diff) | |
parent | 61dfddebf652cae188e9ca3381cfbbb129728fa7 (diff) |
Merge branch 'master' of github.com:tech-server/tgmanage
Diffstat (limited to 'bootstrap/make-dhcpd6.pl')
-rwxr-xr-x | bootstrap/make-dhcpd6.pl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bootstrap/make-dhcpd6.pl b/bootstrap/make-dhcpd6.pl index bd79dac..51d93c4 100755 --- a/bootstrap/make-dhcpd6.pl +++ b/bootstrap/make-dhcpd6.pl @@ -35,33 +35,33 @@ if ( not -f $dhcpd_conf ) # IPv6 address valid lifetime # (at the end the address is no longer usable by the client) # (set to 30 days, the usual IPv6 default) -default-lease-time 2592000; +default-lease-time 3600; # IPv6 address preferred lifetime # (at the end the address is deprecated, i.e., the client should use # other addresses for new connections) # (set to 7 days, the usual IPv6 default) -preferred-lifetime 604800; +preferred-lifetime 3600; # T1, the delay before Renew # (default is 1/2 preferred lifetime) # (set to 1 hour) -option dhcp-renewal-time 3600; +option dhcp-renewal-time 1800; # T2, the delay before Rebind (if Renews failed) # (default is 3/4 preferred lifetime) # (set to 2 hours) -option dhcp-rebinding-time 7200; +option dhcp-rebinding-time 1800; # Enable RFC 5007 support allow leasequery; # Set preference to 255 (maximum) in order to avoid waiting for # additional servers when there is only one -option dhcp6.preference 255; +#option dhcp6.preference 255; # Server side command to enable rapid-commit (2 packet exchange) -option dhcp6.rapid-commit; +#option dhcp6.rapid-commit; # The delay before information-request refresh # (minimum is 10 minutes, maximum one day, default is to not refresh) @@ -79,7 +79,7 @@ authoritative; # Global definitions for name server address(es) and domain search list option domain-name "$nms::config::tgname.gathering.org"; -option domain-name-servers $nms::config::pri_v6, $nms::config::sec_v6; +option dhcp6.name-servers $nms::config::pri_v6, $nms::config::sec_v6; key DHCP_UPDATER { algorithm HMAC-MD5.SIG-ALG.REG.INT; |