{"id":536,"date":"2013-11-15T15:34:24","date_gmt":"2013-11-15T06:34:24","guid":{"rendered":"http:\/\/www.toyzon.com\/?p=536"},"modified":"2013-11-15T15:34:24","modified_gmt":"2013-11-15T06:34:24","slug":"facebook-api-ipv6-network-is-unreachable","status":"publish","type":"post","link":"https:\/\/www.toyzon.com\/?p=536","title":{"rendered":"Facebook API ipv6 Network is unreachable"},"content":{"rendered":"<p>LINUX\uc5d0\uc11c FACEBOOK API \uc5f0\ub3d9\uc2dc \uc544\ub798\uc640 \uac19\uc740 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4<\/p>\n<blockquote><p>Failed to connect to 2a03:2880:2050:1f08:face:b00c:0:1: Network is unreachable<\/p><\/blockquote>\n<p>\u00a0\uc774 \uc624\ub958\ub294 ipv4 \uc124\uc815\uc774 \ub418\uc788\ub294 \uc11c\ubc84\uc5d0\uc11c ipv6\uac00 \ud65c\uc131\ud654 \ub418\uba74\uc11c \ud574\ub2f9 \ub3c4\uba54\uc778\uc758 ipv6 \uc8fc\uc18c\ub85c \uc811\uadfc\uc744 \ud558\ub824\uace0\ud558\ub098, \ud574\ub2f9 \uc11c\ubc84\uc758 ipv6 \ub124\ud2b8\uc6cc\ud06c\uac00 \uc815\uc0c1\uc801\uc774\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc5d0 \ubc1c\uc0dd\ud558\ub294 \uc624\ub958\uc785\ub2c8\ub2e4.<\/p>\n<p>\u00a0\uc774 \ubb38\uc81c\ub294 \ud574\ub2f9\uc11c\ubc84\uc758 ipv6\ub97c disable \ud574\uc8fc\ubbc0\ub85c\uc368 \ud574\uacb0\uc774 \uac00\ub2a5\ud569\ub2c8\ub2e4.<\/p>\n<table style=\"width: 100%; height: 97px;\">\n<tbody>\n<tr>\n<td>vi \/etc\/sysctl.conf<br \/>\n# disable ipv6<br \/>\n<b>net.ipv6.conf.all.disable_ipv6=1<\/b>sysctl -p (\uc7ac\ubd80\ud305 \uc548\ud558\uace0 \uc801\uc6a9)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\uc704\uc640 \uac19\uc774 \uc124\uc815\ud6c4 \uc7ac\ubd80\ud305\ud558\uba74 \uc801\uc6a9\uc774 \uac00\ub2a5\ud558\uace0, \ud639\uc2dc\ub77c\ub3c4 \uc548\ub418\uba74 \uc544\ub798\uc758 \uc0ac\uc774\ud2b8\uc5d0\uc11c \ub2e4\ub978 \ubc29\ubc95\uc744 \ucc3e\uc544\ubd10\uc57c\ud560 \uac83 \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/wiki.centos.org\/FAQ\/CentOS5#head-47912ebdae3b5ac10ff76053ef057c366b421dc4\" target=\"_blank\">http:\/\/wiki.centos.org\/FAQ\/CentOS5#head-47912ebdae3b5ac10ff76053ef057c366b421dc4<\/a><\/p>\n<table>\n<tbody>\n<tr>\n<td>\u00a0<\/p>\n<h2 id=\"head-47912ebdae3b5ac10ff76053ef057c366b421dc4\">9. How do I disable IPv6?<\/h2>\n<ul>\n<li>Edit \/etc\/sysconfig\/network and set &#8220;NETWORKING_IPV6&#8221; to &#8220;no&#8221;<\/li>\n<li>For 5.4 and later, replace in \/etc\/modprobe.conf<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<pre>alias ipv6 off<\/pre>\n<p>by<\/p>\n<pre>options ipv6 disable=1<\/pre>\n<p>Alternative (which might be easier and works on any release with \/etc\/modprobe.d):<\/p>\n<pre># touch \/etc\/modprobe.d\/disable-ipv6.conf\r\n# echo \"install ipv6 \/bin\/true\" &gt;&gt; \/etc\/modprobe.d\/disable-ipv6.conf<\/pre>\n<ul>\n<li>For CentOS 5.3 or older, add the following to \/etc\/modprobe.conf :<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<pre>alias ipv6 off\r\nalias net-pf-10 off<\/pre>\n<ul>\n<li>Run\u00a0<tt>\/sbin\/chkconfig\u00a0ip6tables\u00a0off<\/tt>\u00a0to disable the IPv6 firewall<\/li>\n<li>Reboot the system<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"&lt;!&gt;\" alt=\"&lt;!&gt;\" src=\"http:\/\/wiki.centos.org\/wiki\/modern-CentOS\/img\/attention.png\" width=\"15\" height=\"15\" \/>\u00a0With the 5.4 update symbol\/ipv6 module dependency capabilities have been introduced; therefore, if IPv6 has been previously disabled as above an upgrade to the bonding driver in 5.4 will result in the bonding kernel module failing to load. For the module to load properly use instead:<\/p>\n<pre># touch \/etc\/modprobe.d\/disable-ipv6.conf\r\n# echo \"options ipv6 disable=1\" &gt;&gt; \/etc\/modprobe.d\/disable-ipv6.conf<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"&lt;!&gt;\" alt=\"&lt;!&gt;\" src=\"http:\/\/wiki.centos.org\/wiki\/modern-CentOS\/img\/attention.png\" width=\"15\" height=\"15\" \/>\u00a0<img loading=\"lazy\" decoding=\"async\" title=\"&lt;!&gt;\" alt=\"&lt;!&gt;\" src=\"http:\/\/wiki.centos.org\/wiki\/modern-CentOS\/img\/attention.png\" width=\"15\" height=\"15\" \/>\u00a0Upstream employee Daniel Walsh\u00a0<a href=\"https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=641836#c17\">recommends<\/a>\u00a0not disabling the ipv6 module but adding the following to \/etc\/sysctl.conf:<\/p>\n<pre>net.ipv6.conf.all.disable_ipv6 = 1<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <!-- AdSense Now! Lite: WP is not in the loop.  -->\n","protected":false},"excerpt":{"rendered":"<p>LINUX\uc5d0\uc11c FACEBOOK API \uc5f0\ub3d9\uc2dc \uc544\ub798\uc640 \uac19\uc740 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4 Failed to connect to 2a03:2880:2050:1f08:face:b00c:0:1: Network is unreachable \u00a0\uc774 \uc624\ub958\ub294 ipv4 \uc124\uc815\uc774 \ub418\uc788\ub294 \uc11c\ubc84\uc5d0\uc11c ipv6\uac00 \ud65c\uc131\ud654 \ub418\uba74\uc11c \ud574\ub2f9 \ub3c4\uba54\uc778\uc758 ipv6 \uc8fc\uc18c\ub85c \uc811\uadfc\uc744 \ud558\ub824\uace0\ud558\ub098, \ud574\ub2f9 \uc11c\ubc84\uc758 ipv6 \ub124\ud2b8\uc6cc\ud06c\uac00 \uc815\uc0c1\uc801\uc774\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc5d0 \ubc1c\uc0dd\ud558\ub294 \uc624\ub958\uc785\ub2c8\ub2e4. \u00a0\uc774 \ubb38\uc81c\ub294 \ud574\ub2f9\uc11c\ubc84\uc758 ipv6\ub97c disable \ud574\uc8fc\ubbc0\ub85c\uc368 \ud574\uacb0\uc774 \uac00\ub2a5\ud569\ub2c8\ub2e4. vi \/etc\/sysctl.conf # disable ipv6 net.ipv6.conf.all.disable_ipv6=1sysctl -p [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Facebook API ipv6 Network is unreachable - ToyZon","description":"LINUX\uc5d0\uc11c FACEBOOK API \uc5f0\ub3d9\uc2dc \uc544\ub798\uc640 \uac19\uc740 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4 Failed to connect to 2a03:2880:2050:1f08:face:b00c:0:1: Network is unreachable \u00a0\uc774 \uc624\ub958\ub294 ipv4 \uc124\uc815\uc774 \ub418\uc788\ub294 \uc11c\ubc84\uc5d0\uc11c ipv6\uac00 \ud65c\uc131\ud654 \ub418\uba74\uc11c"},"footnotes":""},"categories":[243],"tags":[300,299,301,302],"class_list":["post-536","post","type-post","status-publish","format-standard","hentry","category-linux-","tag-api","tag-facebook","tag-ipv6","tag-network-is-unreachable"],"_links":{"self":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/posts\/536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=536"}],"version-history":[{"count":1,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/posts\/536\/revisions"}],"predecessor-version":[{"id":537,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=\/wp\/v2\/posts\/536\/revisions\/537"}],"wp:attachment":[{"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.toyzon.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}