VMware-Host and virtual machines ping each other, host Ping to another machine's virtual machine

Source: Internet
Author: User

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Reprint Please specify source: http://blog.csdn.NET/l1028386804/article/details/52267554

Today brings us a little episode on VMware, OK, let's get to the point:

One, host and virtual machines ping each other

This thing is very simple. I use the VMware Station 9 virtual machine, the virtual machine installs the CentOS 6.5 operating system, the host is the WIN7 system (but what system is not important)

To ping each other, you only need to do two things:

(1) Set up VMware's network adapter as "bridge" mode, as follows:

VMware's Menu bar "VM" and "Settings", select "Network Adapter" in "Hardware" and "Network connection" on the right is set to the first "bridged". As for the tick box, there is no need to tick.

(2) Set the host to the same network segment as the virtual machine's operating system IP, for example:

Host IP is set to:

IP Address: 192.168.1.100

Subnet Mask: 255.255.255.0

Default gateway: 192.168.1.1

The virtual machine IP is set to:

IP Address: 192.168.1.101

Subnet Mask: 255.255.255.0

Default gateway: 192.168.1.1

-----------------------------------------------------------------------------------------

With the simple two steps above, the host and virtual machines can ping each other

Second, the host and another machine installed on the virtual machine between each other ping

It's easy to do this, actually. Two computers under the same LAN, then, on the basis of the above, only need to put another machine host IP is also set to the same network segment can be, for example:

IP Address: 192.168.1.102

Subnet Mask: 255.255.255.0

Default gateway: 192.168.1.1

VMware-Host and virtual machines ping each other, host Ping to another machine's virtual machine

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.