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

What is Vmware's Host-Only?

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

Today, I would like to share with you the relevant knowledge of what Vmware Host-Only is, detailed content and clear logic. I believe most people still know too much about it, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.

Host-Only mode actually means that NAT mode removes virtual NAT devices, and then uses VMware Network Adapter VMnet1 virtual network card to connect VMnet1 virtual switch to communicate with virtual machine. Host-Only mode separates the virtual machine from the external network, so that the virtual machine becomes an independent system and only communicates with the host.

1. Host-Only (host mode only)

Host-Only mode actually means that NAT mode removes virtual NAT devices, and then uses VMware Network Adapter VMnet1 virtual network card to connect VMnet1 virtual switch to communicate with virtual machine. Host-Only mode separates the virtual machine from the external network, so that the virtual machine becomes an independent system and only communicates with the host. The network structure is shown in the following figure:

Host-Only mode

Through the above figure, we can find that if we want to make the virtual machine network, we can share the host network card to the VMware Network Adapter VMnet1 network card, so as to achieve the purpose of virtual machine networking. Next, let's test it.

First set up the Virtual Network Editor, which can set the starting range of the DHCP.

Virtual network editor

Set the virtual machine to Host-Only mode.

Set Host-Only mode

Boot the system and set up the network card file.

Set the network card file

Save the exit, then restart the network card, and use remote tools to test whether you can communicate with the host.

Remote tool testing

The host can communicate with the virtual machine, and now the virtual machine is set to connect to the public network.

Set the virtual machine to connect to the public network

We can see that there is a prompt in the above figure to force the ip of VMware Network Adapter VMnet1 to be set to 192.168.137.1, so next, we need to modify the subnet and starting address of the DHCP of the virtual machine, and click "Virtual Network Editor"

Virtual network editor

Reconfigure the network card to use the VMware Network Adapter VMnet1 virtual network card as the route for the virtual machine.

Reconfigure the network card

Restart the network card, and then use remote tools to test whether you can connect to the external network and communicate with the host.

Remote tool testing

The test results show that the virtual machine can be connected to the external network.

These are all the contents of the article "what is the Host-Only of Vmware?" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

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

Development

Wechat

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

12
Report