After Debian is installed the IPV6 is enabled by default. However, we are still using IPV4 address format (xxx.xxx.xxx.xxx) and is still commonly use in the internet. And I wish to minimize troubleshooting of any connectivity issues between each of my virtual machines, so I decided to disable the IPV6 and use only IPV4. The below are those steps:
edit the file named /etc/modprobe.d/aliases
remark the line with the text alias net-pf-10 ipv6
add 2 new lines below it :
alias net-pf-10 off
alias ipv6 off
edit also the file named /etc/hosts
remark all the lines started with ipv6
Finally, restart the computer.
To verify whether IPV6 is disabled successfully, using the below 2 commands:
# netstat -tunlp
(you should not see the word ipv6)
# lsmod | grep ipv6
(you should not get anything screen output)
No comments:
Post a Comment