Windows DatabaseebooksStatistical Information

LLE10242 : Howto disable ipv6 on debian Lenny

Symptom:

You would like to disable your ipv6 stack on your linux system

Cause:

It is enabled by default

Solution:

Disabling the ipv6 stack can be done if your are shure you only need ipv4. For disabling ip version 6 you need to edit /etc/modprobe.d/aliases.

I like to check if it is active first by:

lsmod|grep ipv6

Output will look like:
ipv6    235396    38

Open the file /etc/modprobe.d/aliases and edit the following lines:

alias net-pf-10 ipv6

Replace with:

alias net-pf-10 off
alias ipv6 off

I alway uncomment the line "alias net-pf-10 ipv6" with a # character and add the two following lines under it. I use to reboot my system to make shure it will come up the way I want it. To check if your stack is disabled you can use:

lsmod|grep ipv6

You should not find it anymore.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics