How to disabled IPV6
First, check to see if you are running IPV6(there is more than just one way to check):
Try blacklisting: /etc/modprobe.d/blacklist.conf add this to the file(have to restart):
/etc/sysctl.conf add this to the file and then run "sudo sysctl -p":
/etc/default/grub and then run "sudo update-grub2":
Always check your work:
First, check to see if you are running IPV6(there is more than just one way to check):
ip a | grep inet
netstat -tupln
netstat -tupln
Try blacklisting: /etc/modprobe.d/blacklist.conf add this to the file(have to restart):
blacklist ipv6
/etc/sysctl.conf add this to the file and then run "sudo sysctl -p":
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
/etc/default/grub and then run "sudo update-grub2":
GRUB_CMDLINE_LINUX="ipv6.disable=1"
Always check your work:
No comments:
Post a Comment
Please make suggestions :)