Transferred from:
Http://blog.csdn.net/huangzhl03/article/details/6744744
After limuscle, the practice is feasible.
Symptom description:
After installing the linux System in VMWare, select bridging and use Putty, SSH Secure Shell, and other client tools on the host Windows to connect to the ssh service on linux. The client has never responded, you cannot enter a password to log on.
This problem is very strange, because the company's WinXP uses the same version of VMWare and linux, there is no such problem. When VMWare chooses the NAT mode, SSH can correctly establish a connection. Other machines in the same network segment can be connected through SSH. The ping between the host and the virtual machine is normal. Both linux and windows firewalls are disabled. The IP address is set in the same CIDR block, and the SSH service runs normally on port 22. The configuration is also correct (or the client cannot be connected ). The same is true for FTP and so on. It cannot connect to services on linux from the host machine.
Solution:
First of all, I would like to thank ningzuowu for providing solutions. Address: http://bbs.chinaunix.net/archiver/tid-943452-page-2.html
The following is a description:
1. Local Connection, select properties, and select Configuration
2. on the Advanced tab, select "Hardware checksum" and set it to "off". After the network is automatically restarted, you can use the SSH tool to successfully connect to linux in VMWare.
Solution Process:
Search for a solution in google. Most of the solutions are to confirm the network settings, firewall settings, and SSH service settings. After confirming that there are no problems, the problem remains unsolved.
We recommend that you use NAT, but because I need to communicate with linux in arm development, I need to use bridging.
Finally, I finally found the ningzuowu solution for this problem. I tried it and it was feasible.
In order to make it easier for more people to find it, they will organize it into articles.
Cause conjecture:
In the bridge mode, the virtual machine and the host machine share a network card, and data packets are transmitted on the same network card. This may be a problem. But why do you need to disable the hardware checksum.
Possible impact:
Disable the hardware checksum to check whether the network is unstable or has other problems. If any problem is found, you can point it out.