Guest User

Untitled

a guest
Dec 5th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. default-lease-time 640;
  2. max-lease-time 700;
  3. log-facility local7;
  4.  
  5. subnet6 2011:1:2::/48 {
  6.  
  7. # Range for clients
  8. range6 2011:1:2::111 2011:1:2::234;
  9.  
  10. # Additional options
  11. option dhcp6.name-servers 2011:1:2::2012;
  12. option dhcp6.domain-search "ipv6.domain.example";
  13.  
  14. # Prefix range for delegation to sub-routers
  15. prefix6 2011:1:2:2:: 2011:1:2:2:: /64;
  16.  
  17. # Example for a fixed host address
  18. host specialclient {
  19. host-identifier option dhcp6.client-id 00:01:00:01:4a:1f:ba:e3:60:b9:1f:01:23:45;
  20. fixed-address6 2011:1:2::110;
  21. }
  22. }
  23.  
  24. root@reed-Lenovo:/etc/dhcp# /root/dhcp-4.3.4/server/dhcpd -6 -d -cf /etc/dhcp/dhcpd6.conf eth0
  25. Internet Systems Consortium DHCP Server 4.3.4
  26. Copyright 2004-2016 Internet Systems Consortium.
  27. All rights reserved.
  28. For info, please visit https://www.isc.org/software/dhcp/
  29. WARNING: Host declarations are global. They are not limited to the scope you declared them in.
  30. Config file: /etc/dhcp/dhcpd6.conf
  31. Database file: /var/db/dhcpd6.leases
  32. PID file: /var/run/dhcpd6.pid
  33. Wrote 0 deleted host decls to leases file.
  34. Wrote 0 new dynamic host decls to leases file.
  35. Wrote 0 NA, 0 TA, 1 PD leases to lease file.
  36. Bound to *:547
  37. Listening on Socket/5/eth0/2011:1:2::/48
  38. Sending on Socket/5/eth0/2011:1:2::/48
  39. Server starting service.
  40. Solicit message from fe80::3291:8fff:fe05:bf86 port 546, transaction ID 0xF5FFA00
  41. Advertise PD: address 2011:1:2:2::/64 to client with duid 00:03:00:01:30:91:8f:05:bf:86 iaid = 1 valid for 640 seconds
  42. Sending Advertise to fe80::3291:8fff:fe05:bf86 port 546
  43. Request message from fe80::3291:8fff:fe05:bf86 port 546, transaction ID 0x936B200
  44. Reply PD: address 2011:1:2:2::/64 to client with duid 00:03:00:01:30:91:8f:05:bf:86 iaid = 1 valid for 640 seconds
  45. Sending Reply to fe80::3291:8fff:fe05:bf86 port 546
Add Comment
Please, Sign In to add comment