VMware Common network types for virtual machines are bridged ( Bridge connection ) , NAT ( address translation ) , host-only ( host only ) 3 , before analyzing how to choose, let us briefly introduce you to three types of network:
1. NAT (address translation)
NAT (network address translation), NAT mode is a relatively simple way to implement virtual machine access to the Internet, simple understanding, NAT the virtual mode is to surf the internet and exchange data via the host (physical computer).
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/45/wKioL1V39gWj2XZLAAD-rlY_6NI445.jpg "style=" float: Left; "Title=" NAT. JPG "alt=" Wkiol1v39gwj2xzlaad-rly_6ni445.jpg "/>
Figure 1-1 NAT Network logic Diagram
2. bridged ( bridging mode )
Bridging mode can be simply understood as a bridge built through the physical host network card to connect to the actual network. In bridged mode, a computer device creates a virtual machine that, like a real computer, connects directly to the actual network, and the Internet is not connected to the host.
650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M00/6E/45/wKioL1V39heiV05vAAEAbKJd4QM351.jpg " Title= "Bridged.jpg" alt= "Wkiol1v39heiv05vaaeabkjd4qm351.jpg"/>
Figure 1-2 Bridged network logic diagram
3, Host-only ( host only )
in the host-only mode, the network card of the virtual machine is connected to the host's VMnet1 , but the host system does not provide any routing services for the virtual machine, so the virtual machine can only communicate with the host and cannot connect to the actual network, that is, the Internet is unavailable.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/48/wKiom1V39IyB2sWqAADItZGpf80287.jpg "title=" Host-only.jpg "alt=" Wkiom1v39iyb2swqaaditzgpf80287.jpg "/>
Figure 1-3 host-only Logical Diagram
The adaptation scenarios for the three network types of VMware virtual machines are shown in table 1-1
General applicable scenarios
VM virtual machine three types of network | TD style= "border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-style:none;padding:0 PX 7px; "height=" width= "496" >
|
for non-router Internet access, such as home broadband Internet access, LAN-like situation is also possible. |
bridge mode) |
suitable for routers with Internet access, that is, the case of LAN. |
host-only ( host only) |
This mode of application is not much, suitable for the host does not surf the internet, and host only the scene of communication. |
This article is from the "linux~dba~mba~edu" blog, make sure to keep this source http://sky9896.blog.51cto.com/2330653/1660487
Three network connectivity modes under VMware virtual machines