{"id":386,"date":"2017-02-28T10:51:21","date_gmt":"2017-02-28T02:51:21","guid":{"rendered":"https:\/\/play.datalude.com\/blog\/?p=386"},"modified":"2017-02-28T10:54:19","modified_gmt":"2017-02-28T02:54:19","slug":"turning-off-ipv6-in-ubuntu-16","status":"publish","type":"post","link":"https:\/\/play.datalude.com\/blog\/2017\/02\/turning-off-ipv6-in-ubuntu-16\/","title":{"rendered":"Turning off ipV6 in Ubuntu 16"},"content":{"rendered":"<p>My home router doesn't handle IPv6, and for that matter, neither does my ISP, so I get a lot of IPv6 related garbage in my syslog and kern.log. To turn it off, you need to create a new file, rather than editing a system file, and then reload these settings.<\/p>\n<p><code><span style=\"font-size: 10pt;\">sudo nano \/etc\/sysctl.d\/95-disable-ipv6.conf<\/span><br \/>\n<span style=\"font-size: 10pt;\"> #add the following lines<\/span><br \/>\n<span style=\"font-size: 10pt;\"> net.ipv6.conf.all.disable_ipv6 = 1<\/span><br \/>\n<span style=\"font-size: 10pt;\"> net.ipv6.conf.default.disable_ipv6 = 1<\/span><br \/>\n<span style=\"font-size: 10pt;\"> net.ipv6.conf.lo.disable_ipv6 = 1<\/span><br \/>\n<span style=\"font-size: 10pt;\"> # reload kernel parameters<\/span><br \/>\n<span style=\"font-size: 10pt;\"> sudo service procps reload<\/span><br \/>\n<span style=\"font-size: 10pt;\"> # Check that its taken ... the result of this should be 1<\/span><br \/>\n<span style=\"font-size: 10pt;\"> cat \/proc\/sys\/net\/ipv6\/conf\/all\/disable_ipv6<\/span><br \/>\n<\/code><\/p>\n<p>Nice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My home router doesn't handle IPv6, and for that matter, neither does my ISP, so I get a lot of IPv6 related garbage in my syslog and kern.log. To turn it off, you need to create a new file, rather than editing a system file, and then reload these settings. sudo nano \/etc\/sysctl.d\/95-disable-ipv6.conf #add the &#8230; <a title=\"Turning off ipV6 in Ubuntu 16\" class=\"read-more\" href=\"https:\/\/play.datalude.com\/blog\/2017\/02\/turning-off-ipv6-in-ubuntu-16\/\" aria-label=\"Read more about Turning off ipV6 in Ubuntu 16\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[1,4],"tags":[],"class_list":["post-386","post","type-post","status-publish","format-standard","hentry","category-it","category-linux"],"_links":{"self":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/posts\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/comments?post=386"}],"version-history":[{"count":0,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/posts\/386\/revisions"}],"wp:attachment":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}