{"id":2116,"date":"2024-09-24T09:05:24","date_gmt":"2024-09-24T01:05:24","guid":{"rendered":"https:\/\/www.yusian.com\/blog\/?p=2116"},"modified":"2024-09-24T09:07:28","modified_gmt":"2024-09-24T01:07:28","slug":"how-to-disable-ipv6-on-ubuntu-linux","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/article\/2024\/09\/24\/0905242116.html","title":{"rendered":"How to disable ipv6 on ubuntu linux"},"content":{"rendered":"<ol>\n<li>Edit grub file at <code>\/etc\/default\/grub<\/code><\/li>\n<li>Within the GRUB configuration file, locate the line containing &#8220;GRUB_CMDLINE_LINUX_DEFAULT&#8221; and add &#8220;ipv6.disable=1&#8221; using the following syntax:<\/li>\n<\/ol>\n<pre><code class=\"language-bash line-numbers\">GRUB_CMDLINE_LINUX_DEFAULT=\"ipv6.disable=1\"\n<\/code><\/pre>\n<ol start=\"3\">\n<li>Update GRUB with commond <code>update-grub<\/code>, after successfully updating the GRUB file, you will see &#8220;done&#8221; in your output.<\/li>\n<li>Reboot system with commond <code>reboot<\/code>.<\/li>\n<\/ol>\n<p>Reference: <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/ultahost.com\/knowledge-base\/enable-disable-ipv6-ubuntu-linux\/\" title=\"https:\/\/ultahost.com\/knowledge-base\/enable-disable-ipv6-ubuntu-linux\/\">https:\/\/ultahost.com\/knowledge-base\/enable-disable-ipv6-ubuntu-linux\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Edit grub file at \/etc\/default\/grub Within the GRUB configuration file, locate the line containing &#8220;GRUB_CMDLINE_LINUX_DEFAULT&#8221; and add &#8220;ipv6.disable=1&#8221; using the following syntax: GRUB_CMDLINE_LINUX_DEFAULT=&#8221;ipv6.disable=1&#8243; Update GRUB with commond update-grub, after successfully updating the GRUB file, you will see &#8220;done&#8221; in your output. Reboot system with commond reboot. Reference: https:\/\/ultahost.com\/knowledge-base\/enable-disable-ipv6-ubuntu-linux\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[386,1],"tags":[441,8,323],"class_list":["post-2116","post","type-post","status-publish","format-standard","hentry","category-ubuntu","category-article","tag-ipv6","tag-linux","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=2116"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2116\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=2116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=2116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=2116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}