Modify the/etc/sysconfig/network corresponding network card, append:
The code is as follows |
|
Networking_ipv6=no |
2. Modify the/etc/hosts, the IPv6 of the local host name resolution also commented out:
The code is as follows |
|
#::1 localhost Localhost6 localhost6.localdomain6 |
3. Create file/etc/modprobe.d/ipv6off.conf (name casually)
Note: There is no/etc/modprobe.conf this file after RHEL6.0.
The code is as follows |
|
Alias net-pf-10 off Options IPv6 disable=1 |
4. Reboot the system and confirm:
The code is as follows |
|
[Root@test ~]# Lsmod | Grep-i IPv6 [Root@test ~]# Ifconfig | Grep-i Inet6 |
If the results of these 2 commands are not displayed, then the IPv6 has been completely banned.
Other:
In a method that does not load the IPv6 module, someone will have a setup method like this:
The code is as follows |
|
Alias net-pf-10 off Alias IPv6 off Options IPv6 disable=1 |
Although the IPv6 did not load after the system was restarted, the second sentence, in some versions of the system, when we restart the network, there will be errors: Fatal:module off is not found.
RedHat 5.x
To disable IPV6 in a virtual machine running RedHat 5.x:
1.Log in as root or superuser. Www.111cn.net
2.If the/etc/sysconfig/network file contains the line Networking_ipv6=yes and change the line to:
Networking_ipv6=no
3.In the file/etc/modprobe.conf, add this line:
Options IPv6 disable=1
4.Save the file and reboot the system.
After your disable IPv6, you are should be able to install and configure VMware Tools successfully.