Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

VMWare Workstation Virtual Machine access to the Public Network Picture and text course

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Usually, there is no need to use the external network when using the virtual machine. When configuring ceph this time, you need to use the external network to quickly install ceph. I suddenly found that I could not get on the network. After learning on the network, I sorted out the content.

Using the NAT mode, I always thought that this was a network exchange with the host. If you want to access the external network, you need to set the gateway to be shown here. In fact, it is not. This is only the data exchange between the host and the virtual machine, and the gateway in the virtual machine that needs to access the public network is set in vmware, as shown below:

This page is in "Edit".

After clicking to change the settings, the following appears:

Click NAT Settings:

The gateway of the operating system in the virtual machine needs to be consistent with this.

My operating system is CentOS7. The network configuration is as follows:

It should be noted that the DNS in the virtual machine is also off with the network. The process is measured and it works.

The above VMWare Workstation virtual machine access to the public network graphics and text tutorial is the editor to share with you all the content, I hope to give you a reference, but also hope that you support more.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report