Advertisement
MertcanGokgoz

configuration file example for DHCPv6

Dec 20th, 2018
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. # Server configuration file example for DHCPv6
  2. # From the file used for TAHI tests - addresses chosen
  3. # to match TAHI rather than example block.
  4.  
  5. # IPv6 address valid lifetime
  6. # (at the end the address is no longer usable by the client)
  7. # (set to 30 days, the usual IPv6 default)
  8. default-lease-time 2592000;
  9.  
  10. # IPv6 address preferred lifetime
  11. # (at the end the address is deprecated, i.e., the client should use
  12. # other addresses for new connections)
  13. # (set to 7 days, the usual IPv6 default)
  14. preferred-lifetime 604800;
  15.  
  16. # T1, the delay before Renew
  17. # (default is 1/2 preferred lifetime)
  18. # (set to 1 hour)
  19. option dhcp-renewal-time 3600;
  20.  
  21. # T2, the delay before Rebind (if Renews failed)
  22. # (default is 3/4 preferred lifetime)
  23. # (set to 2 hours)
  24. option dhcp-rebinding-time 7200;
  25.  
  26. # Enable RFC 5007 support (same than for DHCPv4)
  27. allow leasequery;
  28.  
  29. # Global definitions for name server address(es) and domain search list
  30. option dhcp6.name-servers 2a03:8600:1001::2;
  31. option dhcp6.domain-search "home.local";
  32.  
  33. # The delay before information-request refresh
  34. # (minimum is 10 minutes, maximum one day, default is to not refresh)
  35. # (set to 6 hours)
  36. option dhcp6.info-refresh-time 21600;
  37.  
  38. # Static definition (must be global)
  39. subnet6 2001:ed8:77b5::/64 {
  40. range6 2001:ed8:77b5::1 2001:ed8:77b5::ffff:ffff;
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement