{"id":3341,"date":"2016-01-05T09:29:48","date_gmt":"2016-01-05T09:29:48","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=3341"},"modified":"2021-02-06T10:36:43","modified_gmt":"2021-02-06T10:36:43","slug":"how-to-disable-ipv6-on-linux","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/","title":{"rendered":"How to Disable IPv6 on Linux"},"content":{"rendered":"<p><span style=\"color: #000000;\">IPv6 is the next generation Internet Protocol (IP) address standard intended to replace IPv4, The protocol most Internet services are using today. Every computer, mobile phone and any other device connected to the Internet needs a numerical IP address in order to communicate with other.\u00a0It is an identity of a computer over Internet.<\/span><!--more--><\/p>\n<p>In this article we will help you to disable IPv6 from your Linux box.<\/p>\n<h2 class=\"heading1\">1. Check IPv6 Address<\/h2>\n<p class=\"heading1\">Use <strong>ifconfig <\/strong>command to view current <a href=\"https:\/\/cpanelplesk.com\/wp62\/test-linux-operating-system-for-ipv6-networking-support\/\">IPv6<\/a> address on your system. You will get results like below.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">eth0      Link encap:Ethernet  HWaddr 00:25:90:C1:D8:36\r\n          inet addr:129.121.177.162  Bcast:129.121.191.255  Mask:255.255.240.0\r\n          inet6 addr: fe80::225:90ff:fec1:d836\/64 Scope:Link\r\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\r\n          RX packets:1379983101 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:1292563666 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:1000\r\n          RX bytes:205408934685 (191.3 GiB)  TX bytes:1169860757207 (1.0 TiB)\r\n          Memory:dfa20000-dfa3ffff\r\n\r\neth0:0    Link encap:Ethernet  HWaddr 00:25:90:C1:D8:36\r\n          inet addr:65.75.129.33  Bcast:65.75.143.255  Mask:255.255.240.0\r\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\r\n          Memory:dfa20000-dfa3ffff\r\n\r\neth0:1    Link encap:Ethernet  HWaddr 00:25:90:C1:D8:36\r\n          inet addr:65.75.130.25  Bcast:65.75.143.255  Mask:255.255.240.0\r\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\r\n          Memory:dfa20000-dfa3ffff\r\n<\/pre>\n<\/div>\n<h2 class=\"heading1\">2. Disable IPv6 Temporarily<\/h2>\n<p>If you want disable IPv6 for your current session, Simply use following command to set run time variable. Note that below changes will be discarded after system reboot.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">echo \"1\" &gt; \/proc\/sys\/net\/ipv6\/conf\/all\/disable_ipv6<\/pre>\n<\/div>\n<h2 class=\"heading1\">3. Disable IPv6 Permanent<\/h2>\n<p>To disable <a href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-ipv6-address-for-linux-hosts\/\">IPv6<\/a> permanently, edit <strong>\/etc\/sysctl.conf<\/strong> file and add\/update following parameters:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">nano \/etc\/sysctl.conf<\/pre>\n<\/div>\n<p>[wpfmb type=&#8217;info&#8217; theme=2]net.ipv6.conf.all.disable_ipv6 = 1<br \/>\nnet.ipv6.conf.default.disable_ipv6 = 1<br \/>\nnet.ipv6.conf.lo.disable_ipv6 = 1[\/wpfmb]<\/p>\n<p>Now\u00a0reload sysctl configuration by using following command:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true\">sysctl -p<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>IPv6 is the next generation Internet Protocol (IP) address standard intended to replace IPv4, The protocol most Internet services are using today. Every computer, mobile phone and any other device connected to the Internet needs a numerical IP address in order to communicate with other.\u00a0It is an identity of a computer over Internet. [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":3344,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-3341","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Disable IPv6 on Linux - cPanel Plesk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Disable IPv6 on Linux - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"IPv6 is the next generation Internet Protocol (IP) address standard intended to replace IPv4, The protocol most Internet services are using today. Every computer, mobile phone and any other device connected to the Internet needs a numerical IP address in order to communicate with other.\u00a0It is an identity of a computer over Internet. [...]Continue Reading...\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/01\/ipv6-e1451986316699.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seemab Saleem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/\"},\"author\":{\"name\":\"Seemab Saleem\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\"},\"headline\":\"How to Disable IPv6 on Linux\",\"datePublished\":\"2016-01-05T09:29:48+00:00\",\"dateModified\":\"2021-02-06T10:36:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/\"},\"wordCount\":173,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/01\/ipv6-e1451986316699.jpg\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/\",\"name\":\"How to Disable IPv6 on Linux - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/01\/ipv6-e1451986316699.jpg\",\"datePublished\":\"2016-01-05T09:29:48+00:00\",\"dateModified\":\"2021-02-06T10:36:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#primaryimage\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/01\/ipv6-e1451986316699.jpg\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/01\/ipv6-e1451986316699.jpg\",\"width\":200,\"height\":198},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Disable IPv6 on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\",\"name\":\"Seemab Saleem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"caption\":\"Seemab Saleem\"},\"description\":\"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!\",\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Disable IPv6 on Linux - cPanel Plesk","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/","twitter_card":"summary_large_image","twitter_title":"How to Disable IPv6 on Linux - cPanel Plesk","twitter_description":"IPv6 is the next generation Internet Protocol (IP) address standard intended to replace IPv4, The protocol most Internet services are using today. Every computer, mobile phone and any other device connected to the Internet needs a numerical IP address in order to communicate with other.\u00a0It is an identity of a computer over Internet. [...]Continue Reading...","twitter_image":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/01\/ipv6-e1451986316699.jpg","twitter_misc":{"Written by":"Seemab Saleem","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/"},"author":{"name":"Seemab Saleem","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648"},"headline":"How to Disable IPv6 on Linux","datePublished":"2016-01-05T09:29:48+00:00","dateModified":"2021-02-06T10:36:43+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/"},"wordCount":173,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/01\/ipv6-e1451986316699.jpg","articleSection":["Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/","url":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/","name":"How to Disable IPv6 on Linux - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#primaryimage"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/01\/ipv6-e1451986316699.jpg","datePublished":"2016-01-05T09:29:48+00:00","dateModified":"2021-02-06T10:36:43+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#primaryimage","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/01\/ipv6-e1451986316699.jpg","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/01\/ipv6-e1451986316699.jpg","width":200,"height":198},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-disable-ipv6-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"How to Disable IPv6 on Linux"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648","name":"Seemab Saleem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","caption":"Seemab Saleem"},"description":"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!","sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/3341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=3341"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/3341\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media\/3344"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=3341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=3341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=3341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}