Created
July 25, 2014 22:32
-
-
Save wiedi/dfb22881eafef151ea94 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgin install isc-dhcpd | |
##### | |
cat > /opt/local/etc/dhcp/dhcpd.conf < | |
default-lease-time 600; | |
max-lease-time 7200; | |
log-facility local7; | |
subnet6 fdad:e34f:f1d0::/64 { | |
# Range for clients | |
range6 fdad:e34f:f1d0::1000 fdad:e34f:f1d0::ffff; | |
# Additional options | |
option dhcp6.name-servers 2001:4860:4860::8888; | |
} | |
###### ------ | |
modify /opt/local/lib/svc/method/isc-dhcpd so it starts with -6 | |
/usr/sbin/svcadm enable svc:/pkgsrc/isc-dhcpd:default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment