{"id":102,"date":"2018-04-28T12:28:08","date_gmt":"2018-04-28T03:28:08","guid":{"rendered":"https:\/\/0x0c.info\/?p=102"},"modified":"2018-04-28T12:28:08","modified_gmt":"2018-04-28T03:28:08","slug":"%e3%80%90centos7%e3%80%91-ipv6%e3%82%92%e7%84%a1%e5%8a%b9%e3%81%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/0x0c.info\/?p=102","title":{"rendered":"\u3010CentOS7\u3011 ipv6\u3092\u7121\u52b9\u306b\u3059\u308b"},"content":{"rendered":"<h2>Step 1<\/h2>\n<p>\/etc\/sysctl.conf \u306b<\/p>\n<pre><code>net.ipv6.conf.all.disable_ipv6=1\nnet.ipv6.conf.default.disable_ipv6=1\n<\/code><\/pre>\n<p>\u306e\u4e8c\u884c\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<h2>Step 2<\/h2>\n<p><code>\/etc\/sysconfig\/network-scripts\/ifcfg-*<\/code> \u306b <code>IPV6INIT=yes<\/code> \u306e\u8a18\u8ff0\u304c\u3042\u308c\u3070\u3001 <code>IPV6INIT=no<\/code> \u306b\u5909\u66f4\u3059\u308b\u3002<\/p>\n<h2>Step 3<\/h2>\n<p><code>\/etc\/hosts<\/code> \u306bipv6\u30ed\u30fc\u30ab\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u8a18\u8ff0(::1\u304b\u3089\u59cb\u307e\u308b\u884c)\u304c\u3042\u308c\u3070\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u3002<\/p>\n<pre><code>127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4\n#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6\n<\/code><\/pre>\n<h2>Step 4<\/h2>\n<p>\u518d\u8d77\u52d5\u3059\u308b\u3002<br \/>\n<code># reboot<\/code>\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step 1 \/etc\/sysctl.conf \u306b net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1 \u306e\u4e8c\u884c\u3092\u8ffd\u52a0\u3059\u308b\u3002 Step 2 \/etc\/sysconfig\/network-scripts\/ifcfg-* \u306b IPV6INIT=yes \u306e\u8a18\u8ff0\u304c\u3042\u308c\u3070\u3001 IPV6INIT=no \u306b\u5909\u66f4\u3059\u308b\u3002 Step 3 \/etc\/hosts \u306bipv6\u30ed\u30fc\u30ab\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u8a18\u8ff0(::1\u304b\u3089\u59cb\u307e\u308b\u884c)\u304c\u3042\u308c\u3070\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u3002 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 #::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 Step 4 \u518d\u8d77\u52d5\u3059\u308b\u3002 # reboot<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[21,37],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-linux","tag-centos7","tag-ipv6"],"_links":{"self":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=102"}],"version-history":[{"count":0,"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts\/102\/revisions"}],"wp:attachment":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}