Cited: This week when the use of virtual machines did not start to do the task, found a big problem: unexpectedly can not access the Internet??? So to play the wisdom to solve the problem!!!
We know that VMware uses virtual machines to surf the internet in a way that NAT and bridging and only host mode 3 different modes.
(due to space limitations, bridging, NAT, host-only mode are not specifically described)
First, if you want to use the bridging mode:
As Action:
(1)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/95/wKiom1SekOiR5QBdAAB_1fcwxlA461.jpg "title=" 2.png " Style= "Float:none;" alt= "Wkiom1sekoir5qbdaab_1fcwxla461.jpg"/> Click Edit to select the virtual Network editor :
(2) Select Bridge mode , Bridge to the physical machine's network card, click OK .
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/92/wKioL1SekZiB_wZlAAI0fScaT0I059.jpg "style=" float: none; "title=" 1.png "alt=" Wkiol1sekzib_wzlaai0fscat0i059.jpg "/>
(3)
Next, for example: Click Virtual Machine , select removable device , select Network adapter , select settings :
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/92/wKioL1SekZiBR6vXAAGDjeyM3K4365.jpg "style=" float: none; "title=" 3.png "alt=" Wkiol1sekzibr6vxaagdjeym3k4365.jpg "/>
(4) In the right column of the network adapter, select Custom , and select the correct network card mode , click OK .
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/95/wKiom1SekOmijMd9AAKRttMZqvI765.jpg "style=" float: none; "title=" 4.png "alt=" Wkiom1sekomijmd9aakrttmzqvi765.jpg "/>
(5) After the setup is complete, you can reconnect the adapter to the Internet.
Second, the use of nat mode words:
Operation
(1):
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/95/wKiom1SelDPRAibkAAJjRO_441o968.jpg "style=" float: none; "title=" 5.png "alt=" Wkiom1seldpraibkaajjro_441o968.jpg "/>
(2)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/92/wKioL1SelOOxh5qRAAEJEpACSWM034.jpg "style=" float: none; "title=" 6.png "alt=" Wkiol1selooxh5qraaejepacswm034.jpg "/>
3) If you do not have access to the Internet, remember to set up Vmnet network card sharing network in this machine.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/92/wKioL1SelanAdpuAAAEZM7y7Aus497.jpg "title=" 7.png " alt= "Wkiol1selanadpuaaaezm7y7aus497.jpg"/>
Third, host-only mode :
Sorry, this has not yet tried, but from Baidu know the copy of some content, you can try it yourself:
Source: Http://zhidao.baidu.com/link?url=lOKbPRHRjXAJ2ug7wy3lXAUwyQvNjrRAK2RmLBDJM3aT9QCXoztxRJ69Q-R6s9aESSlzZgd9Q_au4Hw1ToyArK
----------------------------------------------------------------------------------------
3.host-only: Default use of VMNET1DHCP: By default, DHCP consists of a virtual network separated from the physical network, but one thing is that it can communicate with the host machine. Of course you can manually specify the IP, but the network header to choose VMNET1 IP Oh detailed: host-only This mode is an independent host mode, meaning is not able to communicate with the outside world. But we can understand that this pattern uses vmnet1, which is a virtual switch.
-----------------------------------------------------------------------------------------
The author tried the first two methods, to solve the problem of virtual machine can not surf the internet, because there is no system to understand the three modes, so there may be some overlooked things, please do not hesitate to criticize!
This article is from the "Sunny" blog, make sure to keep this source http://qmkkd.blog.51cto.com/9511687/1596630
Virtual machine does not have Internet problems