-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL2 No External Connectivity #6075
Comments
I didn't understand your question. Do you mean host B has problem to access www.microsoft.com, or host B has problem to connect to Windows which WSL 2 distro is installed. |
If I understand your issue, look at #5437 |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
ENV:
PROBLEM:
---- HOST A: has external network connectivity regardless of WSL version being used
---- HOST B: only has external network connectivity using configured to use WSL1
On host B, Linux distributions set for using WSL2 have no external network connectivity; however, if the distribution is set for WSL1 external network connectivity is established.
OBERVATIONS (for WSL2): HOST B
-- DNS resolution is not an issue as we are pinging external host using IP address.
-- IP & Default route of the instance are correct based on host B.
-- Running Ubuntu instance does have network connectivity to the host via the NAT
IP Info for eth0 on Host B:
Windows host: 172.22.48.1/20 (vEthernet WSL)
Ubuntu WSL2: 172.22.49.39/20 brd 172.22.63.255 scope global eth0
Route Info:
-- default via 172.22.48.1 dev eth0
-- 172.22.48.0/20 dev eth0 proto kernel scope link src 172.22.49.39
For troubleshooting purpose, WSL was completely uninstalled & reinstalled with the same problem.
The text was updated successfully, but these errors were encountered: