{"id":6395,"date":"2018-06-05T17:46:15","date_gmt":"2018-06-05T17:46:15","guid":{"rendered":"https:\/\/www.ktchost.com\/blog\/?p=6395"},"modified":"2020-06-01T05:31:14","modified_gmt":"2020-06-01T05:31:14","slug":"disabling-ipv6-on-a-particular-interface-in-centos-7","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/disabling-ipv6-on-a-particular-interface-in-centos-7\/","title":{"rendered":"Disabling ipv6 on a particular interface in CentOS 7"},"content":{"rendered":"<p>To enable and disable the ipv6\u00a0 on a particular interface refer following parameter<\/p>\n<p><strong>net.ipv6.conf.[interface].disable_ipv6 = [value] <\/strong><\/p>\n<p><strong>Interface<\/strong> : Use name of the interface, where you want to enable or disable the ipv6<\/p>\n<p>i.e eth1, em1<\/p>\n<p><strong>Value : <\/strong>Use 0 to enable ipv6 and 1 to disable ipv6 on the interface.<\/p>\n<p>For example, if we want to disable IPV6 on the eth0 interface Open the file <strong>&#8220;\/etc\/sysctl.conf&#8221; <\/strong>and add following line<\/p>\n<blockquote><p><strong>net.ipv6.conf.eth0.disable_ipv6 = 1<\/strong><\/p><\/blockquote>\n<p>Run following command to apply the changes immediately<\/p>\n<blockquote><p><strong>sysctl -p <\/strong><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>To enable and disable the ipv6\u00a0 on a particular interface refer following parameter net.ipv6.conf.[interface].disable_ipv6 = [value] Interface : Use name of the interface, where you <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/disabling-ipv6-on-a-particular-interface-in-centos-7\/\" title=\"Disabling ipv6 on a particular interface in CentOS 7\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":6673,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,34],"tags":[223,222,226,225,224],"class_list":["post-6395","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos-server","category-servers","tag-disable-ipv6","tag-enable-ipv6","tag-how-to-disable-ipv6","tag-how-to-enable-ipv6","tag-sysctl-file"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/6395"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=6395"}],"version-history":[{"count":4,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/6395\/revisions"}],"predecessor-version":[{"id":6399,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/6395\/revisions\/6399"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media\/6673"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=6395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=6395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=6395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}