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

Hyper-V virtual machine networking setup steps (picture and text)

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Today, I will talk to you about the steps of Hyper-V virtual machine networking setup (picture and text), which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

The built-in Hyper-V manager in Windows 8 can be said to have surprised many people! While the Hyper-V manager is powerful, it also faces some inevitable troubles in setting up. Some people say that Hyper-V virtual machine networking is troublesome, in fact, as long as you master the skills, it is only a simple effort.

If any computer cannot be connected to the network, it can be said that it has lost most of its functions, especially Windows 8, and so does the virtual machine.

Hyper-V can not identify the network card of the physical machine, so it is necessary to use the virtual network card to realize the network link through the network sharing of the physical machine.

With the Hyper-V virtual machine turned off, select Virtual switch Manager in the Hyper-V management interface.

In the pop-up dialog box, "New Virtual Network switch", select "Internal", and click "create Virtual switch".

Name the virtual switch and click apply. After a short wait, you can see the newly added virtual switch on the left.

At this point, in Dashboard-Network and Internet- Network and sharing Center, you can see the following unrecognized links:

The following devices can also be seen under "change Adapter Settings":

This is the virtual switch just created.

Although there is a virtual appliance, the virtual machine still cannot be linked properly at this time.

Click the existing Internet link under the Network and sharing Center:

Select Properties in the pop-up dialog box:

Switch to the "share" tab, check "allow other network users to connect through this computer's Internet connection" and select the virtual switch you just created-vEthernet (Hyper-V Switch) in "Home Network connection" below, and click OK.

At this point, you will find information about 192.168.137.1 in the IPv4 routing table by typing "route print" at the command prompt running in administrator mode (right-click in the lower left corner of the screen and select "Command prompt Administrator"):

Next, go to the Hyper-V virtual machine settings interface, under "hardware", in "Network Adapter", set "Virtual switch" to the Hyper-V Switch virtual switch that you just set up, and click "OK".

Restart the Hyper-V virtual machine at this time, and set it to "automatically obtain IP address" and "automatically obtain DNS server" in the TCP/IP protocol under the corresponding network connection.

If you use manual settings, set the IP address to "192.167.137.X", X to 2x255 any number, the subnet mask to "255.255.255.0", the default gateway to "192.168.137.1" and the DNS server to "192.168.137.1". Note that the gateway and DNS server here are Microsoft default, do not change if there is no need.

Once you are sure, you will find that the virtual machine is ready for network connection!

If the network connection of the physical machine is changed after that, the sharing needs to be reset and the sharing mode remains the same.

In addition, if you find that the link in the virtual machine becomes an "unrecognized network connection" with a yellow exclamation mark on the network icon, you can check whether the routing table is normal at the command prompt as described above. If it does not contain 192.168.137.1 (as shown in the following figure), it means that the network sharing is not normal. You can disable the network sharing first and then restart it according to the previous article.

In addition to a shared internal network connection, an external network connection can also be used, but if the physical machine contains only one network card device, the physical machine network connection will be disconnected. (a network card supports only one network connection at a time, and a virtual machine is equivalent to a computer, so it cannot be used at the same time.)

After reading the above, do you have any further understanding of the Hyper-V virtual machine networking setup steps (picture and text)? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

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