How do i disable IPV6 on Cent OS

disable ipv6 on centos then you can do this :-

Log in via ssh and type this :-

service ipv6tables stop
chkconfig ipv6tables off
nano /etc/sysconfig/network


Paste the following line to the bottom of the file :-

NETWORKING_IPV6=no


To save in nano press ctrl O then   ctrl x


Then type the following in SSH :-  
nano /etc/modprobe.conf

Paste the following lines to the bottom of the file :-



alias net-pf-10 off
alias ipv6 off


To save in nano press ctrl O then   ctrl x


If you dont use nano then you can use vi or whatever editor you use.

you can then either restart networking or reboot your server by typeing :-   

service networking restart      or   shutdown -r
  • 162 Users Found This Useful
Was this answer helpful?

Related Articles

Zombie Process Slayer - Script to kill defunct processes

Here is a small script that you can use to show you which processes are zombies and which user is...

How can i cancel my dedicated server?

How Do I Cancel My Dedicated Server & Account? To cancel your account you need to login to your...

How can I move a xen LVM based virtual machine from one server to another?

For those running servers with no back-end SAN, the following instructions detail the steps...

How can i show my cpu info (linux)?

How can i show my cpu info? Log in to your server via SSH then typ;e the following command...

How can i sync hardware clock

How can i sync the hardware clock in cent os?   First make sure your clock is accurate you can...