lunes, 2 de febrero de 2015

Disable IPV6 Ubuntu Server

1 Answer

up vote 15 down vote accepted
To disable ipv6 have to open /etc/sysctl.conf using any text editor, insert the following lines at the end.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
If still ipv6 not disabled, then the problem is sysctl.conf still not activated, to solve it you can do the following,
Open terminal(Ctrl+Alt+T) and type the following command,
sudo sysctl -p
You will get result in terminal as,
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
After that if you check,
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
You will get result as,
1
If you get result as 1, ipv6 disabled successfully.

http://askubuntu.com/questions/440649/how-to-disable-ipv6-in-ubuntu-14-04

No hay comentarios:

Publicar un comentario