Introduction to VMware Virtual Machine host-only (host-only), Bridging (bridge), Nat three network modes

Source: Internet
Author: User

Introduction to VMware Virtual Machine host-only (host-only), Bridging (bridge), Nat three network modes
To introduce you to the virtual machine three kinds of network mode, I hope to be helpful to everyone. After the virtual machine is created, two virtual connections are created on the physical host Vmnet1 and Vmnet8, presumably everyone knows it. [] (http://i2.51cto.com/images/blog/201807/22/58617df1df94669838a9af348f3d8475.png?x-oss-process=image/        watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_zmfuz3pozw5nagvpdgk=)        Let's start with these three kinds of network connections. # # # host only (host-only) mode: Host-only mode, which enables communication between virtual machines and physical hosts, but virtual machines cannot communicate with each other on the outside (Internet). As shown:! [] (http://i2.51cto.com/images/blog/201807/22/3a2f1bdab4a9df360faf1d1089b90065.png?x-oss-process=image/        watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_zmfuz3pozw5nagvpdgk=)        We can assume that the virtual machine NIC is connected to the Vmnet1 on a virtual switch, so that when their IP is in the same network segment, the virtual machine and the virtual machine can communicate normally between the VM and the physical machine. Supplemental: Whether the virtual machine can communicate with physics, regardless of the physical machine local connection, is related to Vmnet1.        # # # Bridge Mode: Bridge mode enables virtual machines to communicate with virtual machines, virtual machines, and physical machines, while virtual machines can connect to an extranet (Internet). As shown in: Bridge mode, we can assume that the virtual machine Host network card and the physical host network card connected to the same virtual machine, they can communicate with each other through the virtual switch, and then through the physical host to achieve communication with the external network. [] (Http://i2.51cto.com/images/blog/201807/22/63c75faa30620b13c20c86ba772E42C3.PNG?X-OSS-PROCESS=IMAGE/WATERMARK,SIZE_16,TEXT_QDUXQ1RP5Y2A5A6I,COLOR_FFFFFF,T_100,G_SE,X_10,Y_10,                        shadow_90,type_zmfuz3pozw5nagvpdgk=) Supplement: 1, bridging mode, the virtual machine communicates with the physical machine, and is related to the local connection of the virtual machine bridging. You can manually set up the bridged network card to open the Virtual machine window, go to "edit", select "Virtual Machine Network Editor"! [] (http://i2.51cto.com/images/blog/201807/22/40d43fcb0e9f786c3fd4d641f3ea814c.png?x-oss-process=image/ watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_zmfuz3pozw5nagvpdgk=) ! [] (http://i2.51cto.com/images/blog/201807/22/ad8cc0b3a46e5aa9cd4788a502d1d3d7.png?x-oss-process=image/                watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_zmfuz3pozw5nagvpdgk=)                        2, bridge mode, whether the virtual machine can be networked with the physical machine can not be connected to the network, and physical machine physical connection is connected to the Internet. Host ip:192.168.1.107 Subnet mask: 255.255.255.0 can not connect to the outside network! [] (http://i2.51cto.com/images/blog/201807/22/89094cddd63d25f8a76dcb0659a1655d.png?x-oss-process=Image/watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_ zmfuz3pozw5nagvpdgk=) virtual machine ip:192.168.0.108 Subnet Mask: 255.255.255.0 can connect Outside the net! [] (http://i2.51cto.com/images/blog/201807/22/deff396fa3dd6f3a715a408a30700e17.png?x-oss-process=image/ watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_zmfuz3pozw5nagvpdgk=) ! [] (http://i2.51cto.com/images/blog/201807/22/ec9dc6c81fe5abc9474098b81a7d28ed.png?x-oss-process=image/ watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_zmfuz3pozw5nagvpdgk=)        # # # NAT mode the virtual machine communicates with the virtual machine, the virtual machine and the physical machine, and the virtual machine can connect to the external network (the Internet). As shown: the virtual machine NIC and the Vmnet8 are connected to the virtual switch, enabling communication with each other. The physical host NAT service is then connected to the external network (Internet) through the physical host network card. [] (http://i2.51cto.com/images/blog/201807/22/820640085c11883521b4e7a32aa3f288.png?x-oss-process=image/ Watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_zmfuz3pozw5nagvpdgk=) Supplement: 1. The communication between the virtual machine and the physical machine is related to the physical host vmnet8, regardless of the local connection. 2, the physical host cannot connect the outside network, the virtual machine also cannot connect the external network.

VMware Virtual Machine host only (host-only), Bridging (bridge), Nat three network mode introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.