Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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

2 Answers 2

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

To check if IPv6 is disabled through sysctl :

sysctl -a|grep disable_ipv6
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.