VMWare Workstation Virtual Machine Access Extranet
Usually in the use of virtual machines when there is no need to use the external network, the configuration of Ceph, the rapid installation of ceph need to use the outside network, suddenly found that the network, after learning on the Internet, finishing the content. With the NAT mode, I used to think this is a network exchange with the host, want to access the network needs to set the gateway as shown here. Actually not, this is only the host and the virtual machine for data exchange, and the virtual machine needs to access the extranet gateway is set in VMware, as shown below:
This page is in "edit". When you click Change settings, it appears:
In the Click NAT settings:
The gateway to the operating system in the virtual machine needs to be consistent with this. My operating system is CentOS7 in the network configuration as follows:
It is necessary to note that the DNS in the virtual machine is also the same as the gateway. This is done by the actual measurement.
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.