Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can one disable the IPv6 stack on Debian Linux, especially Wheezy? If so how do I know if it's disabled on a system?

share|improve this question

To check if IPv6 is disabled through sysctl :

sysctl -a|grep disable_ipv6
share|improve this answer

Yes, you can:

echo net.ipv6.conf.all.disable_ipv6=1  > /etc/sysctl.d/disableipv6.conf 
sysctl --system

But you might need to do several other things, as described in the related article in the Debian wiki. The description for squeeze should still be valid for Wheezy.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.