{"id":501,"date":"2012-09-05T10:48:33","date_gmt":"2012-09-05T09:48:33","guid":{"rendered":"http:\/\/www.nooblet.org\/blog\/?p=501"},"modified":"2012-09-05T10:48:33","modified_gmt":"2012-09-05T09:48:33","slug":"disable-ipv6-on-centos6-openvz","status":"publish","type":"post","link":"https:\/\/www.nooblet.org\/blog\/2012\/disable-ipv6-on-centos6-openvz\/","title":{"rendered":"Disable IPv6 on CentOS6 OpenVZ"},"content":{"rendered":"<p>In order to disable ipv6, you will have to disable <a href=\"http:\/\/wiki.openvz.org\/Checkpointing_internals\" target=\"_blank\">checkpoint\/restore<\/a> (suspend\/resume\/migrate functionality) as the modules vzrst and vzcpt have ipv6 as a dependancy.<\/p>\n<ol>\n<li>Edit <strong>\/etc\/init.d\/vz<\/strong>, find and comment out this line:<br \/>\n<blockquote><p><code>CPT_MODULES=\"vzcpt vzrst\"<\/code><\/p><\/blockquote>\n<p><\/li>\n<li>Disable ipv6 module by creating <strong>\/etc\/modprobe.d\/ipv6-off.conf<\/strong><br \/>\n<blockquote><p><code>alias net-pf-10 off<br \/>\nalias ipv6 off<\/code><\/p><\/blockquote>\n<\/li>\n<li>Reboot.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In order to disable ipv6, you will have to disable checkpoint\/restore (suspend\/resume\/migrate functionality) as the modules vzrst and vzcpt have ipv6 as a dependancy. Edit \/etc\/init.d\/vz, find and comment out this line: CPT_MODULES=&#8221;vzcpt vzrst&#8221; Disable ipv6 module by creating \/etc\/modprobe.d\/ipv6-off.conf alias net-pf-10 off alias ipv6 off Reboot.<\/p>\n","protected":false},"author":1,"featured_media":645,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,7],"tags":[92,233,122],"class_list":["post-501","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-openvz","tag-ipv6","tag-linux","tag-openvz-2"],"_links":{"self":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/comments?post=501"}],"version-history":[{"count":1,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/501\/revisions"}],"predecessor-version":[{"id":662,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/501\/revisions\/662"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media\/645"}],"wp:attachment":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media?parent=501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/categories?post=501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/tags?post=501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}