Enable the Windows 10 Hyper-V Default Switch to work with Cisco AnyConnect
The following Hyper-V networking Configuration breaks DNS name resolution on the Virtual Machine:
1. Connecting the host to a non-corporate (remote) WiFi network.
2. Connecting to the corporate network via Cisco AnyConnect on the host.
3. Start a VM and connect it to the Default Switch (NAT)
When a VM is connected to the default switch and the host is connected to the corporate network via Cisco AnyConnect, the VM looses the ability to resolve DNS addresses. The VM is able to ping both public addresses and corporate addresses; however, it is unable to resolve names on either the public internet or corporate network.
This issue was submitted as a MS Premier support ticket (https://support.microsoft.com/en-us/commercial/incidents/117111417156306) and a Connect bug (https://connect.microsoft.com/WindowsServer/feedback/details/3142497/build-16299-15-hyper-v-default-switch-nat-name-resolution-not-working). Was advised by Premier that this is an architectural issue.
We’re investigating how to best handle VPN and add more configuration around VPN.
1) Upvote if this is important to you. That helps us prioritize.
2) Let us know which VPN technology you’re using/care most about.
3) Explain what behavior you’d like to see.
Rene Christensen commented
Yehia Amer commented
We are in July 2019 and this issue is still not solved, Really Very Important for Enterprise users !
Cisco AnyConnect v4.5.04029
Windows 10 1803 (OS Build 17134.829)
Cisco AnyConnect (please!)
Don Rolling commented
"1) Upvote if this is important to you"
How can you consider this topic as non important ? You're basically cutting out all people working in a corporate environment using Cisco AnyConnect.
David Guirl commented
Please remove the Default Switch behavior completely from all Enterprise licensed versions of Windows 10 1809+. Hyper-V is unusable on a corporate network now. Switching to VMWare.
The disappearing Default Switch issue with Cisco AnyConnect reared it's ugly head when I upgraded to 1809. Hyper-v unusable, if I remove anyconnect the default switch appears and will work, but my host cannot connect to the physical network, catch-22. Back to VMware workstation to see if that is also broken, what a disappointment
Andrew Stanton commented
2) AnyConnect *Compatible* - I dont want to use that crummy cisco client that wont connect while I'm RDP'ed to the VM. OpenConnect GUI or CLI please.
3) Also for windows server as a VM, not just windows 10.
Hans Dickel commented
Windows 10 Enterprise x64 1803 (OS Build 17134.320) and Cisco AnyConnect 4.6.01103 - the name resolution is still an issue. This occurs with both LAN and WLAN connections.
Cisco AnyConnect and OpenVPN would be nice as well
Windows 1709 and Cisco Anyconnect 4.5.03040
The VM using default switch DHCP failure, can't get the IP address, after the VPN is connected.
Can you fix it?
[Deleted User] commented
Cisco Anyconnect. Like others, there's issues when trying to use this under Hyper-V.
Do not automatically show next card in Klondike/Las Vegas Solitare deck- all three cards need to be played first.
essai le progres
Bring OpenVPN support natively to Windows like you're doing for OpenSSH. Alternatively, bring support to use VPN technology in WSL would be great as well. Ideally you'd have both capabilities as various use cases may require usage of one or the other.
David Klebanoff commented
It's actually worse than described in this ticket. In my case, when a virtual switch in bridge mode is created in Hyper-V, the adapter becomes invisible to Cisco AnyConnect. If that is the adapter currently in use, you lose connectivity. Bridge mode is helpful if you want to expose the virtual machine to others on the network.
Using Cisco AnyConnect for VPN. Ideally allow configuration for tunneling all traffic or split tunnel.
Carl P. commented
Hello Sarah, The default switch should be able to handle connectivity to either a wired or wireless NIC on the same device.,
Cisco Anyconnect seems to be the preeminent VPN, but support for ATT Global Network Client would be desirable as well.
If you can enable support in an upcoming RS4 build, please let us know. :D
Andy Tan commented
u got my vote. Using Cisco anyconnect