In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to configure ip in host-only mode host-only under VMware. I hope you will get something after reading this article. Let's discuss it together.
There are three network configurations for vmware: bridging, host-only mode, and nat mode. When connecting to the cable, the bridge mode can directly obtain the ip, and the host can access the virtual machine through the ip. But sometimes we are in a state of wireless networking, and we can make the host access to the virtual machine through host-only mode.
1. Right-select the virtual machine to be configured, and set the network to host-only mode in the settings.
2. View the ip network segment and mask of vmware in host-only mode, and click Edit-> Virtual Network Editor on the toolbar, my (192.168.116.0) and (255.255.255.0), respectively.
3. As you can see in the previous step, only the corresponding virtual network card in host mode is vmnet1. At this time, you need to find the virtual network card in the adapter of the host, and configure its ip in ipv4. Since the network segment is 192.168.116.0, the gateway should be 192.168.116.1. The virtual network card is equivalent to the bridge between the host and the virtual machine. Configuring its ip can make the two connected.
4. According to the ip network segment and mask, take any ip value from this network segment and set it to the IP value of the virtual machine. For example, (192.168.116.10), configure it to the virtual machine. The virtual machine of the linux system can use ifconfig 192.168.116.10 netmask 255.255.255.0 to configure ip.
5. Perform ping operation in the host to see if the virtual machine can be accessed
As you can see in the figure above, the response of 192.168.116.10 indicates that the virtual machine can be accessed, and the database or other services on the virtual machine can be accessed happily on the host.
After reading this article, I believe you have a certain understanding of "how to configure ip under VMware only host mode host-only". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
Original link: https://blog.csdn.net/u012331758/article/details/52433052
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.