Unable to establish internet connection for my Windows 10 VM through Hyper-V Virtual Switch - hyper-v

I'm using the Hyper-V's Virtual Switch Manager & trying to set-up an External Virtual Network using my Wireless Adapter, but once I click apply, it kicks off the internet connection on the host machine itself. Had been trying for hours with no much success.

I had this issue most of the time whenever i setup a new virtual machine. One of the solution over the web is the following
Make a new Virtual Network Switch
Turn off your Windows 10 virtual machine.
Open the Hyper-V Manager -> click on the Virtual Switch Manager option found in the panel to your right.
In the newly opened window -> click New virtual network switch found in the left-side panel.
From the right-side panel -> choose External -> Create virtual switch.
Inside the Virtual Switch Properties window -> change the name of your virtual machine.
Under the Connection type section -> choose External network -> Realtek PCIe GBE Familly Controller.
Check the box next to Allow management operating system to share this network adapter -> press Ok.
Set the configuration parameters for the network adapter
Inside your Virtual Machine Manager -> scroll down in the right-side panel -> click Settings in the Windows 10 section.
Choose Network Adapter from the left-side panel -> toggle the drop-down Virtual Switch menu -> choose the switch created in Method 1 -> press Ok to save the settings.
Set up your Network Connection to share it with Hyper-V
On your host Windows 10 machine -> right-click the Network icon found next to your Windows clock -> click Open Network & Internet Settings.
In the Status tab -> click on Change adapter options.
Inside the Network Connections window -> right-click your
In the Sharing tab -> enable the Allow other network users to connect through this computer’s Internet connection option -> choose the network switch created earlier -> press Ok -> turn on Windows 10 in Hyper-V to finish the fix method.
Note: if in case the above solution not works then try disable the virtual machine firewall.

Related

Network card error while creating Solars 11 VM on hyper-v

I am trying to create Solaris 11 VM on hyper-v.
While installing Solaris I get following message:
No Network interface found , addition driver may be needed.
When installation is done , My IP is not configured in machine.
I found one link where same problem is mention but solution is not clear to me.
https://community.oracle.com/tech/apps-infra/discussion/4282130/solaris-11-4-installation-in-hyper-v
Any help is much appreciated.Thanks
You will need to open up VMWare Workstation, or your VMware app, Go to Settings for your VM, and look for "Network Adapter".
The default is NAT. If that doesn't work, try bridged, or cycle through the options to see if any are supported.
If that doesn't work, you may need to add a new network device. In that case, you will need to do this:
Select Window > Virtual Machine Library.
Select a virtual machine in the Virtual Machine Library window and click Settings.
Click Add Device.
Click Network Adapter.
Click Add.

The virtual machine os does not support mouse pointer integration

I was trying to set up a VM via Oracle Virtual Box in my MacBook.
Host OS: Mac
Application: Oracle Virtual
VM OS: CentOS 7
While I'm trying to start the OS installation I found that mouse capturing of the VM is not working correctly.
Observation: Once the mouse pointer captured in the VM, It's not
visible as expected
And also I got a pop-up message related to this;
Pop-up message: The virtual machine reports that the guest os does
not support mouse pointer integration in the current video mode
Shut-Down the VM
Select a particular VM and go to settings
Go to System section
In the Motherboard tab, change the Pointing Device as below;
From: PS/2 mouse
To: USB Tablet OR USB Multi-touch Tablet
Save settings and Start the VM
I had this message when I tried copying to/from Terminal to outside text and vice versa.
I could enable it from the VBox interface once the Guest OS has started!
Devices --> Shared Clipboard --> to Bidirectional
The menus are File | Machine | View | Input | Devices | Help

vmware workstation Player No internet connection

I'm using vmware workstation 14 Player, there is no option for Virtual Network Editor in VMPlayer. There are several sites which are saying to open the network editor. As I could not find network editor I'm using VM Player 14. Please view the screenshot for better understating.
Here you can see there is no option for network editor and when I click edit virtual machine setting I get the following Box
Here you can see I've selected NAT, but still internet is not working inside VMware. If anyone could help with this.
I was following this video but https://www.youtube.com/watch?v=H2j3nyl4muQ
but here the person is usning VMware and not the vmware workstation player.
Inside preferences I see the following but nothing related to network settings etc
Inside my virtual machine which is a Windows Server 2012 the network adapter shows the following
To do what the video follows up is much better to do it in VirtualBox. Configuring your own NAT is quite easily done, whereas in new VmWare I still have not found a way to do it.
Check this to understand better how to do it.

VPN connection using Hyper-V in Windows 8

How to enable Hyper-V to connect VPN for external internet access in Windows 8?
I'm trying to run Windows phone 8 app using emulator, and while see app in emulator it doesn't connect the VPN to access internet.
Please advice.
Thanks.
MSDN has a troubleshooting page for the Windows Phone 8 emulator. Perhaps you can find related info there. Something like this might help:
Cannot connect to Internet destinations
The Windows Phone 8 Emulator uses the HTTP proxy settings from the host computer. If you can’t access Internet resources from the emulator, check with your IT administrator to make sure that your proxy settings will work with the emulator.
If your network’s proxy servers are unavailable or malfunctioning, it might be possible to restore connectivity for the emulator by disabling automatic proxy detection on the host computer. However this only works in certain network configurations.
To disable automatic proxy detection on the host computer
On the host computer, open Internet Options from the Control Panel. The Internet Properties dialog box opens.
In the Internet Properties dialog box, click the Connections tab.
On the Connections page, click the LAN settings button. The Local Area Network (LAN) Settings dialog box opens.
In the Local Area Network (LAN) Settings dialog box, deselect all the check boxes. Click OK twice to close both dialog boxes.
Restart the emulator and retry the connection.
Also this MSDN blog-post can be helpful: Why can’t the Windows Phone Emulator go online?. Useful part of the article:
As you see, clicking the “>>” on the bar parallel to the Emulator will open a small window with 4 tabs. The last tab is for “Network”. To explain in simpler terms, there are two adapters here – one is for internal use by Emulator and other is for external network connectivity. Each adapter will have an IP address (IPv4) associated with itself. The one of our interest is under Adapter #2.
I have erased out the IPv4 address that is assigned to Adapter #2 (Yellow box), but you find that the IP assigned here starts with 169.254.x.x…., then Bingo! - we have figured out the problem. How?
The IP addresses starting with 169.254.x.x …. Are usually the self-assigned default addresses to a device and not really helpful to get the device to go online. This IP should either be a static IP or the one assigned by the DHCP server (if you have one in the environment) for the device to be able to connect to external networks.
Hope this helps.

WCF on PocketPC, not connecting to host machine

I'm working with a PocketPC vm for development over here.
I can get the virtual device to connect to the internet, but I can't get it to connect to a web service on my local (host) machine.
I've tried the machine name and my IP address, different ports, but no luck.
Anyone else have this issue?
EDIT: I have an actual device at my machine as well. When docked I don't have this problem with the real device, just the emulated one.
I have not had the specific issue. But, the best way I've found to deal with these issues when using WCF is to enable tracing and see what the error messages are.
If you are connected via ActiveSync, you can connect to the name "ppp_peer".
This name will always resolve to the machine connected via active sync.
Figured it out when I read this article:
http://www.betterthaneveryone.com/archive/2008/08/31/getting-network-access-on-the-windows-mobile-emulator.aspx
The device has to be docked. You need to use the Device Emulator Manager to dock the device. Also note: you can only have one device docked at a given time.
Once the device is docked, you should see the Windows Mobile Device Center display. Find the running device (look for the green arrow), right-click and select Cradle. Remember, only one device can be cradled/docked at a time. If you have a real device that is cradled already, you cannot cradle an emulator.
In Windows Mobile Device Center -> Mobile Device Settings -> Connection Settings: Check "Allow connections to one of the following:" and select DMA in the dropdown.
On the emulator: File->Configure->Network. Make sure a valid network device is selected.
From the emulated OS: Start Menu -> Settings -> Connections -> Connections -> Advanced -> Select Networks. Make both drop-downs My ISP.
That should be it. To test, load Internet Explorer, browse to StackOverflow.com. Next, browse to a web page on your local machine.