2
I just upgraded to Windows WSL 2 today. The problem is I can't ping the host machine.
I got the IP for the host machine from /etc/resolv.conf.
From WSL 2 Ubuntu console:
- I can ping 8.8.8.8.
- I can not ping 172.17.12.65 (host machine).
- I can not ping www.google.com
Please help, thanks!
Seems strange you can ping your DNS server hosted by Google but are unable to ping a different google domain. What IP address does Windows believe your host machine is assigned to? (172.17.xxx.xxx) is not a typical intranet address. – Ramhound – 2019-06-17T18:51:19.080
Try to run WSL as admin. Also check in
/etc/resolv.conf
thenameserver
line. – harrymc – 2019-06-17T19:06:51.653Yes this is an issue. MS will make this as bridged mode in future. – Biswapriyo – 2019-06-18T03:10:19.150
@Biswapriyo, do you know the issue tracker? I have gone back to WSL 1, since I can't use VcXsrv because of this issue. Thanks! – Jie – 2019-06-18T16:38:49.483