{"id":7097,"date":"2023-10-30T08:04:33","date_gmt":"2023-10-30T08:04:33","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=7097"},"modified":"2023-10-30T08:04:36","modified_gmt":"2023-10-30T08:04:36","slug":"disable-ipv6-in-ubuntu-debian-centos-redhat","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/","title":{"rendered":"Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/10\/ipv6_disabel_en.jpg\" alt=\"How to disable IPv6 in Ubuntu\/Debian and CentOS\/RedHat Alma linux , rocky linux\" class=\"wp-image-7109\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/10\/ipv6_disabel_en.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/10\/ipv6_disabel_en-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/10\/ipv6_disabel_en-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/10\/ipv6_disabel_en-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/10\/ipv6_disabel_en-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>IPv6 (Internet Protocol version 6) is the most recent version of the Internet Protocol (IP), the communications protocol that provides an identification and location system for computers on networks and routes traffic across the Internet. IPv6 was developed to deal with the long-anticipated problem of IPv4 address exhaustion and provides far more addresses than IPv4. However, many organizations may want to disable IPv6 for various reasons like compatibility issues, security concerns or lack of support.<\/p>\n\n\n\n<p>Disabling IPv6 in Linux distributions like Ubuntu\/Debian and CentOS\/RedHat can be done in a few simple steps. Here is a detailed guide on how to disable IPv6 in these distributions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"reasons-to-disable-ipv6\">Reasons to disable IPv6<\/h2>\n\n\n\n<p>There are a few key reasons why you may want to disable IPv6:<\/p>\n\n\n\n<ul>\n<li><strong>Compatibility Issues<\/strong>: Many older devices, applications and networks do not support IPv6. Disabling it prevents compatibility problems.<\/li>\n\n\n\n<li><strong>Security Concerns<\/strong>: IPv6 protocols like Neighbor Discovery and Stateless Address Autoconfiguration have security implications. Disabling IPv6 improves security.<\/li>\n\n\n\n<li><strong>Lack of Support<\/strong>: If your network equipment, software or cloud providers lack IPv6 support, it&#8217;s better to disable it.<\/li>\n\n\n\n<li><strong>Transition Challenges<\/strong>: Migrating from IPv4 to IPv6 can be complex. Disabling IPv6 allows postponing the transition.<\/li>\n\n\n\n<li><strong>Network Instability<\/strong>: Improperly configured IPv6 can cause network instability and connectivity issues.<\/li>\n\n\n\n<li><strong>Functionality<\/strong>: In some cases, IPv6 provides little additional functionality, so may not be worth the effort.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"disabling-ipv6-in-ubuntu-and-debian\">Disabling IPv6 in Ubuntu and Debian<\/h2>\n\n\n\n<p>Here are the steps to disable IPv6 in Ubuntu and other Debian-based distributions like Linux Mint:<\/p>\n\n\n\n<ul>\n<li>Open the GRUB boot loader configuration file:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/etc\/default\/grub<\/code><\/pre>\n\n\n\n<ul>\n<li>Find the&nbsp;<code>GRUB_CMDLINE_LINUX<\/code>&nbsp;variable and append&nbsp;<code>ipv6.disable=1<\/code>&nbsp;to it:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"properties\" class=\"language-properties\">GRUB_CMDLINE_LINUX=\"ipv6.disable=1\"<\/code><\/pre>\n\n\n\n<ul>\n<li>Save and close the file when done.<\/li>\n\n\n\n<li>Update GRUB:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo update-grub<\/code><\/pre>\n\n\n\n<ul>\n<li>Edit the Sysctl configuration file:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/etc\/sysctl.conf<\/code><\/pre>\n\n\n\n<ul>\n<li>Add the following lines:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"properties\" class=\"language-properties\">net.ipv6.conf.all.disable_ipv6 = 1\nnet.ipv6.conf.default.disable_ipv6 = 1 \nnet.ipv6.conf.lo.disable_ipv6 = 1<\/code><\/pre>\n\n\n\n<ul>\n<li>Save and close the file.<\/li>\n\n\n\n<li>Apply the changes:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo sysctl -p<\/code><\/pre>\n\n\n\n<ul>\n<li>Restart networking:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl restart networking<\/code><\/pre>\n\n\n\n<ul>\n<li>Check IPv6 status &#8211; it should now be disabled:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ ip a<\/code><\/pre>\n\n\n\n<p>This completely disables IPv6 in Ubuntu\/Debian. The changes will persist after reboot.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"disabling-ipv6-in-centos-and-redhat\">Disabling IPv6 in CentOS and RedHat<\/h2>\n\n\n\n<p>Here are the steps to disable IPv6 in CentOS, RedHat and related distributions:<\/p>\n\n\n\n<ul>\n<li>Open the GRUB boot loader configuration file:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/etc\/default\/grub <\/code><\/pre>\n\n\n\n<ul>\n<li>Find the&nbsp;<code>GRUB_CMDLINE_LINUX<\/code>&nbsp;variable and append&nbsp;<code>ipv6.disable=1<\/code>&nbsp;to it:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"properties\" class=\"language-properties\">GRUB_CMDLINE_LINUX=\"ipv6.disable=1\"<\/code><\/pre>\n\n\n\n<ul>\n<li>Save and close the file.<\/li>\n\n\n\n<li>Rebuild the GRUB configuration:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/code><\/pre>\n\n\n\n<ul>\n<li>Edit the Sysctl configuration file:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/etc\/sysctl.conf<\/code><\/pre>\n\n\n\n<ul>\n<li>Add the following lines:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"properties\" class=\"language-properties\">net.ipv6.conf.all.disable_ipv6 = 1\nnet.ipv6.conf.default.disable_ipv6 = 1\nnet.ipv6.conf.lo.disable_ipv6 = 1<\/code><\/pre>\n\n\n\n<ul>\n<li>Save and close the file.<\/li>\n\n\n\n<li>Apply the changes:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo sysctl -p<\/code><\/pre>\n\n\n\n<ul>\n<li>Restart the network service:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl restart network<\/code><\/pre>\n\n\n\n<ul>\n<li>Check IPv6 status &#8211; it should now be disabled:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ ip a<\/code><\/pre>\n\n\n\n<p>This completely disables IPv6 in CentOS\/RedHat. The changes will persist after reboot.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"verifying-ipv6-status\">Verifying IPv6 Status<\/h2>\n\n\n\n<p>After disabling IPv6, some commands that can be used to verify its status are:<\/p>\n\n\n\n<ul>\n<li><code>ip a<\/code>&nbsp;&#8211; Should not show any IPv6 addresses assigned to interfaces<\/li>\n\n\n\n<li><code>ip -6 addr<\/code>&nbsp;&#8211; Should return nothing<\/li>\n\n\n\n<li><code>ping6 &lt;host&gt;<\/code>&nbsp;&#8211; Should fail with &#8220;connect: Network is unreachable&#8221;<\/li>\n\n\n\n<li><code>curl -6 google.com<\/code>&nbsp;&#8211; Should fail with &#8220;Couldn&#8217;t resolve host&#8221;<\/li>\n\n\n\n<li><code>dig @&lt;server&gt; www.google.com AAAA<\/code>&nbsp;&#8211; Should return no IPv6 records<\/li>\n\n\n\n<li><code>sysctl net.ipv6.conf.all.disable_ipv6<\/code>&nbsp;&#8211; Should return&nbsp;<code>net.ipv6.conf.all.disable_ipv6 = 1<\/code><\/li>\n\n\n\n<li><code>cat \/proc\/net\/if_inet6<\/code>&nbsp;&#8211; Should be empty<\/li>\n<\/ul>\n\n\n\n<p>This confirms IPv6 is disabled successfully.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"potential-issues-when-disabling-ipv6\">Potential Issues When Disabling IPv6<\/h2>\n\n\n\n<p>There are a few potential issues to be aware of when disabling IPv6:<\/p>\n\n\n\n<ul>\n<li>Any applications\/services explicitly dependent on IPv6 will break.<\/li>\n\n\n\n<li>Network monitoring and management software may warn about IPv6 being unavailable.<\/li>\n\n\n\n<li>Some applications may still attempt to use IPv6 and timeout before falling back to IPv4.<\/li>\n\n\n\n<li>Kernel logs may contain IPv6 error messages due to it being unavailable.<\/li>\n\n\n\n<li>Certain applications that expec t IPv6 autoconfiguration will be affected.<\/li>\n\n\n\n<li>Remote login via SSH could fail if IPv6 is disabled on server but enabled on client.<\/li>\n\n\n\n<li>May affect IPsec VPN connectivity between sites if depending on IPv6.<\/li>\n<\/ul>\n\n\n\n<p>-Could impact dual-stack implementations interacting with IPv4-only systems.<\/p>\n\n\n\n<ul>\n<li>Troubleshooting and debugging network issues may become more difficult.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"troubleshooting-problems-after-disabling-ipv6\">Troubleshooting Problems After Disabling IPv6<\/h2>\n\n\n\n<p>If you experience issues after disabling IPv6, some troubleshooting steps include:<\/p>\n\n\n\n<ul>\n<li>Review application logs for indications of failures related to missing IPv6 connectivity.<\/li>\n\n\n\n<li>Verify if any configured IPsec VPNs depend on IPv6 between endpoints and modify their configuration if needed.<\/li>\n\n\n\n<li>Check for DNS or routing issues that could arise from disabling IPv6 on only some systems.<\/li>\n\n\n\n<li>For remote login problems, ensure SSH server and client either both have IPv6 disabled or enabled.<\/li>\n\n\n\n<li>Try re-enabling IPv6 temporarily to see if a particular problem is resolved &#8211; that may indicate its cause.<\/li>\n\n\n\n<li>Modify configurations of affected services\/applications to not depend on or prefer IPv6 if possible.<\/li>\n\n\n\n<li>Update network monitoring\/management systems to remove IPv6 status alerts for the disabled interfaces.<\/li>\n\n\n\n<li>Clear any IPv6 addresses manually assigned to interfaces prior to disabling it.<\/li>\n<\/ul>\n\n\n\n<p>After troubleshooting, you can take appropriate corrective actions like re-configuring affected systems\/services, updating dependencies or modifying the IPv6 disabled scope.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"re-enabling-ipv6\">Re-Enabling IPv6<\/h2>\n\n\n\n<p>If you need to re-enable IPv6 after disabling it, the steps would be:<\/p>\n\n\n\n<ul>\n<li>Remove the&nbsp;<code>ipv6.disable=1<\/code>&nbsp;flag from&nbsp;<code>GRUB_CMDLINE_LINUX<\/code>&nbsp;in&nbsp;<code>\/etc\/default\/grub<\/code>.<\/li>\n\n\n\n<li>Remove the&nbsp;<code>net.ipv6.conf.* disable_ipv6<\/code>&nbsp;lines from&nbsp;<code>\/etc\/sysctl.conf<\/code>.<\/li>\n\n\n\n<li>Rebuild the GRUB configuration:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ grub2-mkconfig -o \/boot\/grub2\/grub.cfg <\/code><\/pre>\n\n\n\n<ul>\n<li>Reload sysctl parameters:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sysctl -p<\/code><\/pre>\n\n\n\n<ul>\n<li>Restart networking:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ systemctl restart network<\/code><\/pre>\n\n\n\n<ul>\n<li>Assign IPv6 addresses to interfaces as needed.<\/li>\n\n\n\n<li>Verify IPv6 functionality using&nbsp;<code>ping6<\/code>,&nbsp;<code>curl<\/code>, etc.<\/li>\n<\/ul>\n\n\n\n<p>The steps may vary slightly depending on the distribution. This will re-enable IPv6 support.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>Disabling IPv6 in Linux distributions like Ubuntu\/Debian and CentOS\/Red Hat can be done by modifying GRUB boot parameters and Sysctl parameters. This prevents IPv6 address assignment and usage system-wide. Care must be taken to ensure dependent services\/applications are transitioned properly. The process can be reversed to re-enable IPv6 when required. This provides a simple way to disable IPv6 if your environment is not ready for it yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IPv6 (Internet Protocol version 6) is the most recent version of the Internet Protocol (IP), the communications protocol that provides an identification and location system for computers on networks and routes traffic across the Internet. IPv6 was developed to deal with the long-anticipated problem of IPv4 address exhaustion and provides far more addresses than IPv4. ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[69],"tags":[],"yoast_head":"\n<title>Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"Learn how to disable IPv6 in Ubuntu\/Debian and CentOS\/RedHat Linux distributions by modifying GRUB and Sysctl parameters.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"Learn how to disable IPv6 in Ubuntu\/Debian and CentOS\/RedHat Linux distributions by modifying GRUB and Sysctl parameters.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-30T08:04:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-30T08:04:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/10\/ipv6_disabel_en.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat\",\"datePublished\":\"2023-10-30T08:04:33+00:00\",\"dateModified\":\"2023-10-30T08:04:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/\"},\"wordCount\":898,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Linux system administration\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/\",\"name\":\"Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2023-10-30T08:04:33+00:00\",\"dateModified\":\"2023-10-30T08:04:36+00:00\",\"description\":\"Learn how to disable IPv6 in Ubuntu\/Debian and CentOS\/RedHat Linux distributions by modifying GRUB and Sysctl parameters.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat - WebHi Tutorials &amp; Documentations","description":"Learn how to disable IPv6 in Ubuntu\/Debian and CentOS\/RedHat Linux distributions by modifying GRUB and Sysctl parameters.","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:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/","og_locale":"en_US","og_type":"article","og_title":"Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat - WebHi Tutorials &amp; Documentations","og_description":"Learn how to disable IPv6 in Ubuntu\/Debian and CentOS\/RedHat Linux distributions by modifying GRUB and Sysctl parameters.","og_url":"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2023-10-30T08:04:33+00:00","article_modified_time":"2023-10-30T08:04:36+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/10\/ipv6_disabel_en.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat","datePublished":"2023-10-30T08:04:33+00:00","dateModified":"2023-10-30T08:04:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/"},"wordCount":898,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Linux system administration"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/","url":"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/","name":"Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2023-10-30T08:04:33+00:00","dateModified":"2023-10-30T08:04:36+00:00","description":"Learn how to disable IPv6 in Ubuntu\/Debian and CentOS\/RedHat Linux distributions by modifying GRUB and Sysctl parameters.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/disable-ipv6-in-ubuntu-debian-centos-redhat\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"Disabling IPv6 in Ubuntu\/Debian and CentOS\/RedHat"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7097"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=7097"}],"version-history":[{"count":5,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7097\/revisions"}],"predecessor-version":[{"id":7128,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7097\/revisions\/7128"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=7097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=7097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=7097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}