LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   disable ipv6 on Lenny (https://www.linuxquestions.org/questions/debian-26/disable-ipv6-on-lenny-834975/)

cccc 09-28-2010 11:37 AM

disable ipv6 on Lenny
 
hi

There are many ways to disable ipv6 on Lenny.
How have you done on your system?

jdkaye 09-28-2010 12:42 PM

Google is your friend. A 2 second search turned up this link.

I haven't done it one my system.
ciao,
jdk

cccc 09-28-2010 03:50 PM

Thx, I've done and it seems to work.
How I already said, there are many ways to disable ipv6, for example:

1.) set ipv6 to blacklist
Code:

echo blacklist ipv6 >> /etc/modprobe.d/blacklist.local
2.) edit /etc/modprobe.d/aliases
from:
Code:

alias net-pf-10 ipv6
to
Code:

alias net-pf-10 off
3.) change /etc/sysctl.conf
Code:

net.ipv6.conf.default.disable_ipv6=1
4.) add
Code:

ipv6.disable=1
as a kernel parameter in /boot/grub/menu.lst

greetings
cccc

tredegar 09-30-2010 11:43 AM

There are different ways to disable IPV6 because the kernel is changing.
The "old" ways are [1],[2],[3]
The "new" way (when IPV6 is compiled into the kernel) is [4]

Which one you should use depends on how your kernel has been configured, and what your distro version-number is.


All times are GMT -5. The time now is 12:10 AM.