In the HYPER-V environment, the virtual machine and the host in the case of different IP network segments to achieve Internet access!
There has recently been the use of Hyper-V technology directly on Windows 8 to build virtual environments for development and testing, eliminating the need to install additional software. In actual use, especially when configuring network sharing, there are some problems, which are different from other virtual machine software. Here is a typical configuration scenario (virtual machine access to the Internet through the host network, similar to NAT)
Configuration steps
Step 1: Add a virtual switch (Virtual Switch)
[Remarks] In fact, I think it may not be appropriate to translate this as a virtual switch, but the menu in the Chinese version is really called, so I don't translate it separately to avoid ambiguity.
In the next dialog box, select “New virtual network switch” and select “Extenal” this type
, then click “Create Virtual Switch&rdquo ;
In the next dialog, set Extenal network to connect to a host NIC
[Note] Please select the NIC you are currently using for Internet access. Name (may be a wired network card, or a wireless network card)
After clicking "Apply", there will be a process and your current host's network will be temporarily disconnected. In fact, Hyper-V will create a virtual network card and let it bridge with your existing network card.
Step 2: Use the virtual NIC in the virtual machine
In the properties of the virtual machine, select Add Hardware
Next in the interface Choose to add to your virtual network card before you can
This is usually the case. But maybe you run the virtual machine and find that the network still does not work. The specific symptom is that you may receive an IP address conflict error. At this time, you can manually set the IP address to solve.
Before setting up, you can first check the address of the virtual network card through the ipconfig /all command (because you want to set a different address), Subset mask and Default Gateway, DNS. Servers should be set to the same.
I hope to help you a little!
Methods/Steps
1. Add a new hardware device in [Device Manager]
2. Manually select from the list
3. Add A network adapter
4.Select Microsoft Loopback Adapter
5. Hardware Addition Complete
6. In [Network Connection], modify the newly added network adapter to modify the attribute. , select only IPV4, set an IP address, leave the gateway and DNS blank
7. Add a virtual network in HYPER-V, select the newly created [Microsoft Loopback Adapter]
8. Assigning a Network Card to a Virtual Machine
9.Installing [Routing and Remote Access Service]
10Configuring and Enabling Routing and Remote Access 11. Select Custom, check [NAT] and [LAN Route] 】
12. Add a host to the internet NIC in the NAT under ipv4 node, check [Enable NAT on this interface]
13. Statically assign IP and virtual machine DNS can be used to access the Internet (this IP address needs to be in the same network segment as the IP address of the newly created network card)
A few days ago, someone found out on a leaked Windows 10 internal version, the traditional blue scre
How do I cancel the power-on password for win10 Home Edition? Nowadays, in order to better protect p
After the Wn10 system is installed, the hard disk mounted by the router cannot be opened. Under the
Win7 system is one of the most commonly used systems. I believe many users have encountered such a s
Win7 desktop background is always modified how to lock it so that others can modify it at will
Win8 system 32-bit and 64-bit which is good how to choose
Upgrade Win10 first anniversary update preview version 14342 blue screen how to do?
WindowsXP quickly removes the explorer.exe virus that consumes system resources.
What should I do if the win10 official version is infinitely restarted during the installation?
Win10 mobile version build10070 spy photos exposure Launched the general office application
How to record win10? Windows10 recording screen video tutorial
How to bypass the restrictions Windows 7 RC upgrade directly to RTM
Method of setting port mapping and reverse proxy in Apache server
How to do the computer directly shuts off the power supply and causes the hard disk damage?
Detailed description of the configuration of the DNS server
Introduction to RAID functions and usage
Novice to see: Linux system startup time limit optimization
Win10 desktop prompt "Click here to enter your latest credentials" How to solve
Installing the printer driver appears 126 error
Windows 10 first anniversary update Bug cleaning: Microsoft will launch "Bug Bash"