Abstract
Centos 5.1 can be deployed in VMware 6, but after the security protection is complete, it is found that there is no way to update and install other software. How can this problem be solved?
Introduction
Use environment:VMware 6.0.2 + centos 5.1
When centos 5.1 was launched after VMware 6, if you want to update and install other hosts, the following warning messages will be generated:
The reason is that most people have set up VMware to use NAT for zookeeper. If it is changed to bridgedd, the above problem can be solved.
Conclusion
The difference between NAT and bridged is that Nat will use the IP address of the Host OS to access the network, and bridged will request a new IP address from DHCP, if your host OS uses ADSL zookeeper, the bridged mode will fail because the guest OS cannot pass through DHCP to a new IP address. If you use a stateless network, the guest OS will ask for a new IP address for a non-existent network base station, and the bridged method will succeed.
Therefore, this method cannot be used when the host OS uses ADSL bandwidth, and only when the host OS uses a non-linear network.