Howto disable ipv6 networking
First check if the module is loaded:
To check if this module is currently loaded in your system, issue the following command as root. If you see ipv6 in its output, then the module is loaded.
lsmod | grep ipv6
Disable ipv6 in ubuntu:
You need to edit the aliases file using the following command:
sudo nano /etc/modprobe.d/aliases
Find
alias net-pf-10 ipv6
change to
alias net-pf-10 off
alias ipv6 off
alias ipv6 off
Save the file and reboot.
Disable ipv6 in Fedora/Centos:
Open your modprob.conf file and add following line:
vi /etc/modprobe.conf
Add
alias net-pf-10 off
Or disable it with the following command.
chkconfig ip6tables off
Leave a Reply
You must be logged in to post a comment.