How to disable IPv6 in Ubuntu

To disable IPv6 in Ubuntu follow the steps:

1- sudo gedit /etc/modprobe.d/aliases
2- Search the following line: alias net-pf-10 ipv6
3- Modify it to be alias net-pf-10 off ipv6
4- Save
5- Restart networking or reboot

note: restart networking [sudo /etc/init.d/networking restart]

Post to Twitter Post to Delicious Post to Facebook

Leave a Reply

Seek in here
Translator
Archive