{"id":6610,"date":"2017-04-06T23:21:35","date_gmt":"2017-04-06T15:21:35","guid":{"rendered":"http:\/\/rmohan.com\/?p=6610"},"modified":"2017-04-06T23:21:47","modified_gmt":"2017-04-06T15:21:47","slug":"ipv6-dhcp-server-on-centos-7","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6610","title":{"rendered":"IPV6 DHCP Server on CentOS 7"},"content":{"rendered":"<p>Without any talk we can go straight to configure IPV6 DHCP server .<\/p>\n<p>IPV6 NS :\u00a02015:9:19:ffff::1<\/p>\n<p>IPV6 DHCP SERVER : 2015:9:19:ffff::2<\/p>\n<p>&nbsp;<\/p>\n<p># yum install dhcp -y<\/p>\n<p>#\u00a0cp \/usr\/share\/doc\/dhcp-4.2.5\/dhcpd6.conf.example \/etc\/dhcp\/dhcpd6.conf<\/p>\n<p># cat\u00a0\/etc\/dhcp\/dhcpd6.conf<\/p>\n<p>default-lease-time 2592000;<br \/>\npreferred-lifetime 604800;<br \/>\noption dhcp-renewal-time 3600;<br \/>\noption dhcp-rebinding-time 7200;<br \/>\nallow leasequery;<br \/>\noption dhcp6.info-refresh-time 21600;<br \/>\ndhcpv6-lease-file-name \u201c\/var\/lib\/dhcpd\/dhcpd6.leases\u201d;<\/p>\n<p>&nbsp;<\/p>\n<p>subnet6 2015:9:19:ffff::\/64 {<br \/>\nrange6 2015:9:19:ffff::10 2015:9:19:ffff::1000;<br \/>\noption dhcp6.name-servers 2015:9:19:ffff::1;<br \/>\noption dhcp6.domain-search \u201c<span class=\"skimlinks-unlinked\">iptechnics.ae<\/span>\u201d;<br \/>\n}<\/p>\n<p># cat \/etc\/sysconfig\/network-scripts\/ifcfg-enp3s0<\/p>\n<p>DEVICE=enp3s0<br \/>\nBOOTPROTO=none<br \/>\nONBOOT=yes<br \/>\nNM_CONTROLLED=no<br \/>\nTYPE=Ethernet<br \/>\nNETMASK=255.255.255.192<br \/>\nIPADDR=10.254.254.154<br \/>\nGATEWAY=10.254.254.129<br \/>\nIPV6INIT=yes<br \/>\nIPV6ADDR=\u201d2015:9:19:ffff::2\/64?<br \/>\nIPV6_AUTOCONF=yes<\/p>\n<p># systemctl start dhpcd6<\/p>\n<p># systemctl enable dhcpd6<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Without any talk we can go straight to configure IPV6 DHCP server .<\/p>\n<p>IPV6 NS : 2015:9:19:ffff::1<\/p>\n<p>IPV6 DHCP SERVER : 2015:9:19:ffff::2<\/p>\n<p>&nbsp;<\/p>\n<p># yum install dhcp -y<\/p>\n<p># cp \/usr\/share\/doc\/dhcp-4.2.5\/dhcpd6.conf.example \/etc\/dhcp\/dhcpd6.conf<\/p>\n<p># cat \/etc\/dhcp\/dhcpd6.conf<\/p>\n<p>default-lease-time 2592000; preferred-lifetime 604800; option dhcp-renewal-time 3600; option dhcp-rebinding-time 7200; allow leasequery; option dhcp6.info-refresh-time 21600; dhcpv6-lease-file-name \u201c\/var\/lib\/dhcpd\/dhcpd6.leases\u201d;<\/p>\n<p>&nbsp;<\/p>\n<p>subnet6 2015:9:19:ffff::\/64 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6610"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6610"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6610\/revisions"}],"predecessor-version":[{"id":6612,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6610\/revisions\/6612"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}