Three Network modes in VMware ----- host-only mode

Source: Internet
Author: User

3. Host-only mode (host mode only)

Host-only mode: a closed network mode. a vm can only communicate with a host through vmnet1. This mode is suitable for conducting various network experiments in an independent environment. The difference between this mode and Nat mode is that there is no address translation service, and virtual machines can only access the host machine.

The following is an example of host-only:

① Edit the network mode in the VM and select host-only mode:

650) This. length = 650; "src =" http://s3.51cto.com/wyfs02/M02/47/D0/wKiom1P_-eWwQWrnAAJFkagMt-o013.jpg "Title =" z1111111111111.jpg "width =" 400 "Height =" 360 "border =" 0 "hspace =" 0 "vspace =" 0 "style =" Width: 400px; Height: 360px; "alt =" wKiom1P_-eWwQWrnAAJFkagMt-o013.jpg "/>

② Set the IP address of the network connection in the virtual machine:

650) This. length = 650; "src =" http://s3.51cto.com/wyfs02/M02/47/D0/wKiom1QAB4vBiURgAAF6S85tcbU358.jpg "Title =" z11.jpg "width =" 400 "Height =" 435 "border =" 0 "hspace =" 0 "vspace =" 0 "style =" Width: 400px; Height: 435px; "alt =" wkiom1qab4vbiurgaaf6s85tcbu358.jpg "/>

③ Set the network connection IP address of vmnet1:

650) This. length = 650; "src =" http://s3.51cto.com/wyfs02/M02/47/D2/wKioL1P_-7HiNi39AAH4OArKZ6U313.jpg "Title =" e.jpg "width =" 400 "Height =" 500 "border =" 0 "hspace =" 0 "vspace =" 0 "style =" Width: 400px; Height: 500px; "alt =" wKioL1P_-7HiNi39AAH4OArKZ6U313.jpg "/>

④ Network topology:

The virtual machine communicates with the host machine through vmnet1, but cannot communicate with the network segment 172.16.1.x.

650) This. length = 650; "src =" http://s3.51cto.com/wyfs02/M01/47/D0/wKiom1QABc_wutM9AADyweArFmw722.jpg "Title =" .jpg "width =" 400 "Height =" 282 "border =" 0 "hspace =" 0 "vspace =" 0 "style =" Width: 400px; Height: 282px; "alt =" wkiom1qabc_wutm9aadywearfmw722.jpg "/>


⑤ Test:

Ping the host in the VM:

C:\Documents and Settings\Administrator>ping 192.168.181.1Pinging 192.168.181.1 with 32 bytes of data:Reply from 192.168.181.1: bytes=32 time<1ms TTL=64Reply from 192.168.181.1: bytes=32 time<1ms TTL=64Reply from 192.168.181.1: bytes=32 time<1ms TTL=64Reply from 192.168.181.1: bytes=32 time<1ms TTL=64Ping statistics for 192.168.181.1:    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:    Minimum = 0ms, Maximum = 0ms, Average = 0ms

Ping external networks in virtual machines: (inaccessible)

C:\Documents and Settings\Administrator>ping 172.16.1.73Pinging 172.16.1.73 with 32 bytes of data:Destination host unreachable.Destination host unreachable.Destination host unreachable.Destination host unreachable.Ping statistics for 172.16.1.73:    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

# End


This article from the "Li Yunna ---- It nvwa" blog, please be sure to keep this source http://liyunna.blog.51cto.com/9151125/1546464

Three Network modes in VMware ----- host-only mode

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.