Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm setting up a CentOS server and I have no intention to use IPv6 on it by now. Because of this, I have a few simple questions:

  • Is there any problem in blocking all IPv6 traffic on this machine (in and out)?
  • If not, how can I accomplish it?

Thanks,

share|improve this question
    
You can, but you shouldn't. Dupe of serverfault.com/questions/60481/… anyway. –  womble Jul 27 '11 at 23:10
    
Correct me if I'm wrong, but if you don't have an IPv6 upstream IPv6 traffic is not going to be going out your connection regardless. –  Jeremy Bouse Aug 22 '11 at 2:31
    
Without additional work you probably don't have a global IPv6 routable address so the issue is moot. –  Steve-o Aug 25 '11 at 3:30

2 Answers 2

I don't think I'd block it; I think I would just disable the ipv6 stack.

http://www.vincentverhagen.nl/2007/06/22/disable-ipv6-on-red-hat/

share|improve this answer

you can either disable it in the config scripts or use sysctl net.ipv6.conf.all.disable_ipv6=1 to totally turn it off in the kernel.

Nonetheless... if you won't actually have IPv6 connectivity, I would argue it's not worth the effort.

share|improve this answer

Your Answer

 
discard

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.