In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article shares the configuration mode of linux network NAT for your reference. The details are as follows.
The permissions for NAT access are as follows:
The external network cannot access the virtual machine, the host and the virtual machine can access each other, and the network and the host can also access each other.
1. Open the virtual machine-edit-virtual network editor-
2 、
3. Enter the linux system of the virtual machine and click on the network
4 、
5. Click ipv4
6. Configure the first three bits of the ip ip address of the virtual machine to be consistent with the first three bits of the gateway. The gateway with the same subnet mask should be consistent with the gateway of the virtual machine editor.
6.1. View the gateway
7. Open the local network connection-- change the adapter-- find the vMware8 that may be different. If you put the mouse on it, a prompt will automatically come out-- right-click-- property.
8. Click ipv4-- attribute--
9. The first three bits of the ip address are the same as the virtual machine editor gateway and the last bit, as long as it does not conflict with the gateway and the virtual machine ip (no more than 255. the subnet mask remains the same in the ip gateway and the virtual machine.
10. Enter the linux system, open the terminal test, enter the following command to test whether it is successful or not. This is to test whether the virtual machine can access host.
11. Test whether the host can connect to the virtual machine
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.