for my 5.2 "Marshmallow (6.0.0) (android 6.0 - API 23) in VS 2017, after connecting Wi-Fi and answering the question about connecting the emulator to the network, I got my virtual eth2 wifi, which is visible as Wi-Fi when you slide the top toolbar that you usually see if your networks are connected or not.
but in my previous attempts this icon shows an exclamation mark and next to it there is no internet , after restarting and restarting the emulator it works

Other useful points are the network settings, which my Hyper-V vEthernet has the following name and notes that when connected, it shows Internet access with the status AndroidAPs7, which is the name of the WiFi connection, and my main Wi-Fi shows only the bridging .
- vEthernet (1x1 11b gn Wireless LAN PCI Express Half Mini Card Virtual Switch Adapter)

Iman Abidi May 29 '17 at 6:21 a.m. 2017-05-29 06:21
source share