{"id":1428,"date":"2010-04-14T15:46:41","date_gmt":"2010-04-14T07:46:41","guid":{"rendered":"http:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/?p=1428"},"modified":"2010-04-14T15:46:41","modified_gmt":"2010-04-14T07:46:41","slug":"disable-ipv6-on-centos","status":"publish","type":"post","link":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/?p=1428","title":{"rendered":"disable ipv6 on CentOS"},"content":{"rendered":"<h2 id=\"head-47912ebdae3b5ac10ff76053ef057c366b421dc4\">How do I disable  IPv6?<\/h2>\n<p><span id=\"line-71\"> <\/span><\/p>\n<ul>\n<li>Edit  \/etc\/sysconfig\/network and set &#8220;NETWORKING_IPV6&#8221; to &#8220;no&#8221; <span id=\"line-72\"> <\/span><\/li>\n<li>Add the following to  \/etc\/modprobe.conf :<\/li>\n<\/ul>\n<pre>alias ipv6 off\r\nalias net-pf-10 off<\/pre>\n<ul>\n<li>Run <tt>\/sbin\/chkconfig\u00a0ip6tables\u00a0off<\/tt> to disable the IPv6 firewall<\/li>\n<li>Reboot  the system<\/li>\n<\/ul>\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\r\n# echo \"install ipv6 \/bin\/true\" &gt;&gt; \/etc\/modprobe.d\/disable-ipv6<\/pre>\n<ul>\n<li>With  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:<\/li>\n<\/ul>\n<pre># touch \/etc\/modprobe.d\/disable-ipv6\r\n# echo \"options ipv6 disable=1\" &gt;&gt; \/etc\/modprobe.d\/disable-ipv6<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>How do I disable IPv6? <\/p>\n<p> Edit \/etc\/sysconfig\/network and set &#8220;NETWORKING_IPV6&#8221; to &#8220;no&#8221; Add the following to \/etc\/modprobe.conf : alias ipv6 off alias net-pf-10 off Run \/sbin\/chkconfig ip6tables off to disable the IPv6 firewall Reboot the system <\/p>\n<p>Alternative (which might be easier and works on any release with \/etc\/modprobe.d):<\/p>\n<p> # touch \/etc\/modprobe.d\/disable-ipv6 # echo [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[3],"tags":[57],"class_list":["post-1428","post","type-post","status-publish","format-standard","hentry","category-computer","tag-linux","odd"],"_links":{"self":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1428"}],"version-history":[{"count":1,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1428\/revisions"}],"predecessor-version":[{"id":1429,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1428\/revisions\/1429"}],"wp:attachment":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}