<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Linux: How To Disable The IPv6 Protocol</title> <atom:link href="http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Thron</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-176281</link> <dc:creator>Thron</dc:creator> <pubDate>Thu, 01 Dec 2011 20:01:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-176281</guid> <description>I add the following line to /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
or do it for the specific nic
net.ipv6.conf.eth0.disable_ipv6 = 1
Then service network restart</description> <content:encoded><![CDATA[<p>I add the following line to /etc/sysctl.conf<br
/> net.ipv6.conf.all.disable_ipv6 = 1<br
/> or do it for the specific nic<br
/> net.ipv6.conf.eth0.disable_ipv6 = 1</p><p>Then service network restart</p> ]]></content:encoded> </item> <item><title>By: Stefan Lasiewski</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-174366</link> <dc:creator>Stefan Lasiewski</dc:creator> <pubDate>Mon, 26 Sep 2011 22:59:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-174366</guid> <description>I see many solutions in this thread. What are the advantages/disadvantages of doing this via /etc/modprobe.d/* [1], vs. /etc/sysctl.conf vs. /etc/sysconfig/network vs. /etc/default/grub ?
Which way is the &quot;best&quot; way?
[1] Also see http://tldp.org/HOWTO/html_single/Linux+IPv6-HOWTO/#AEN734 , which agrees with Vivek&#039;s solution.</description> <content:encoded><![CDATA[<p>I see many solutions in this thread. What are the advantages/disadvantages of doing this via /etc/modprobe.d/* [1], vs. /etc/sysctl.conf vs. /etc/sysconfig/network vs. /etc/default/grub ?</p><p>Which way is the &#8220;best&#8221; way?</p><p>[1] Also see <a
href="http://tldp.org/HOWTO/html_single/Linux+IPv6-HOWTO/#AEN734" rel="nofollow">http://tldp.org/HOWTO/html_single/Linux+IPv6-HOWTO/#AEN734</a> , which agrees with Vivek&#8217;s solution.</p> ]]></content:encoded> </item> <item><title>By: Heinrich</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-160434</link> <dc:creator>Heinrich</dc:creator> <pubDate>Sun, 24 Oct 2010 11:06:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-160434</guid> <description>Thanks Geir, very useful</description> <content:encoded><![CDATA[<p>Thanks Geir, very useful</p> ]]></content:encoded> </item> <item><title>By: Peter</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-158325</link> <dc:creator>Peter</dc:creator> <pubDate>Sun, 25 Jul 2010 19:18:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-158325</guid> <description>@Harri
This is correct. I had this problem on Ubuntu I disabled ipv6 on system, however some commandline utilities were still using ipv6.</description> <content:encoded><![CDATA[<p>@Harri<br
/> This is correct. I had this problem on Ubuntu I disabled ipv6 on system, however some commandline utilities were still using ipv6.</p> ]]></content:encoded> </item> <item><title>By: Geir Helland</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-154806</link> <dc:creator>Geir Helland</dc:creator> <pubDate>Tue, 06 Apr 2010 09:30:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-154806</guid> <description>Add these lines to “/etc/sysctl.conf” and run “sysctl -p /etc/sysctl.conf”
&lt;code&gt;
#disable ipv6
net.ipv6.conf.all.disable_ipv6=1
&lt;/code&gt;
Alternatively, just run this command to disable ipv6 temporarily:
&lt;code&gt;
echo 1 &gt; /proc/sys/net/ipv6/conf/all/disable_ipv6
&lt;/code&gt;
Aktivate again with &quot;echo 0 ..&quot;</description> <content:encoded><![CDATA[<p>Add these lines to “/etc/sysctl.conf” and run “sysctl -p /etc/sysctl.conf”<br
/> <code><br
/> #disable ipv6<br
/> net.ipv6.conf.all.disable_ipv6=1<br
/> </code><br
/> Alternatively, just run this command to disable ipv6 temporarily:<br
/> <code><br
/> echo 1 &gt; /proc/sys/net/ipv6/conf/all/disable_ipv6<br
/> </code><br
/> Aktivate again with &#8220;echo 0 ..&#8221;</p> ]]></content:encoded> </item> <item><title>By: the dsc</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-153242</link> <dc:creator>the dsc</dc:creator> <pubDate>Sat, 30 Jan 2010 04:41:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-153242</guid> <description>You do not need to reboot the system, &quot;sudo /etc/init.d/networking restart&quot; should suffice (or su if sudoers is not configured to permit that).
It may be interesting to have a tiny script or maybe two huge aliases to toggle ipv6, so whenever you stumble with something that requires it (debian multimedia repositories, for example), you may reactivate it.
I hope the whole ipv6-and-speed get solved soon, if too many people use such circumventions, then we&#039;ll face some trouble when everything becomes ipv6.</description> <content:encoded><![CDATA[<p>You do not need to reboot the system, &#8220;sudo /etc/init.d/networking restart&#8221; should suffice (or su if sudoers is not configured to permit that).</p><p>It may be interesting to have a tiny script or maybe two huge aliases to toggle ipv6, so whenever you stumble with something that requires it (debian multimedia repositories, for example), you may reactivate it.</p><p>I hope the whole ipv6-and-speed get solved soon, if too many people use such circumventions, then we&#8217;ll face some trouble when everything becomes ipv6.</p> ]]></content:encoded> </item> <item><title>By: Harri</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-153011</link> <dc:creator>Harri</dc:creator> <pubDate>Wed, 20 Jan 2010 09:02:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-153011</guid> <description>Even modifying /etc/modprobe.d/aliases.conf or blacklisting ipv6 might not be sufficient. Some packages load other kernel modules that depend upon ipv6, and then it is back.
There is only one reliable way: Build a kernel without ipv6 support.</description> <content:encoded><![CDATA[<p>Even modifying /etc/modprobe.d/aliases.conf or blacklisting ipv6 might not be sufficient. Some packages load other kernel modules that depend upon ipv6, and then it is back.</p><p>There is only one reliable way: Build a kernel without ipv6 support.</p> ]]></content:encoded> </item> <item><title>By: Sean</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-151924</link> <dc:creator>Sean</dc:creator> <pubDate>Sat, 28 Nov 2009 21:45:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-151924</guid> <description>DISABLE IPV6 IN UBUNTU 9.10
gksu gedit /etc/default/grub
CHANGE THIS LINE:
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
TO
GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1 quiet splash”
THEN UPDATE GRUB:
sudo update-grub
TO TEST WITH TERMINAL:
ip a &#124; grep inet6</description> <content:encoded><![CDATA[<p>DISABLE IPV6 IN UBUNTU 9.10<br
/> gksu gedit /etc/default/grub</p><p>CHANGE THIS LINE:<br
/> GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”</p><p>TO<br
/> GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1 quiet splash”</p><p>THEN UPDATE GRUB:<br
/> sudo update-grub</p><p>TO TEST WITH TERMINAL:<br
/> ip a | grep inet6</p> ]]></content:encoded> </item> <item><title>By: Pete</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-150056</link> <dc:creator>Pete</dc:creator> <pubDate>Tue, 11 Aug 2009 23:29:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-150056</guid> <description>In Fedora, you can edit /etc/sysconfig/network and add the following:
NETWORKING_IPV6=no
IPV6INIT=no
Pete.</description> <content:encoded><![CDATA[<p>In Fedora, you can edit /etc/sysconfig/network and add the following:<br
/> NETWORKING_IPV6=no<br
/> IPV6INIT=no</p><p>Pete.</p> ]]></content:encoded> </item> <item><title>By: Axel</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-149878</link> <dc:creator>Axel</dc:creator> <pubDate>Tue, 04 Aug 2009 18:35:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-149878</guid> <description>in Debian Sid it&#039;s /etc/modprobe.d/blacklist.conf
Regards, Axel</description> <content:encoded><![CDATA[<p>in Debian Sid it&#8217;s /etc/modprobe.d/blacklist.conf<br
/> Regards, Axel</p> ]]></content:encoded> </item> <item><title>By: Teodor</title><link>http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-149626</link> <dc:creator>Teodor</dc:creator> <pubDate>Wed, 22 Jul 2009 06:24:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-disable-the-ipv6-protocol.html#comment-149626</guid> <description>In Debian you should just blacklist the module like this:
HOSTu:~# vi /etc/modprobe.d/blacklist
[..]
## disable IPv6 module (to avoid DNS query delays)
blacklist ipv6
Sometimes this works on RHEL5 too, but not always (XEN virtualization).
Cheers</description> <content:encoded><![CDATA[<p>In Debian you should just blacklist the module like this:</p><p>HOSTu:~# vi /etc/modprobe.d/blacklist<br
/> [..]<br
/> ## disable IPv6 module (to avoid DNS query delays)<br
/> blacklist ipv6</p><p>Sometimes this works on RHEL5 too, but not always (XEN virtualization).</p><p>Cheers</p> ]]></content:encoded> </item> </channel> </rss>
