-
Notifications
You must be signed in to change notification settings - Fork 823
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 suddendly stopped to reach the network #7822
Comments
I'm having similar problem, which might be related. For me, what helps is to deactivate Windows Firewall. I've submitted it in separate issue on #7823 |
Unfortunately deactivate the firewall doesn't work for me. |
This solution works, but every time wsl is restarted the nameserver is automatically regenerated. seems that the |
Have a look at the routing table, @jonascarfantan. Use I wrote a long post about it https://janovesk.com/wsl/2022/01/21/wsl2-and-vpn-routing.html. In my scenario the route is messed up by a VPN. I don't know if you are running one, but double check the routing table. |
@janovesk, your blog post saved me a ton of pain and suffering (and taught me something in the process). Thank you for the detailed description. I scripted it up here: https://github.com/Codym48/fix-wsl2-vpn |
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! |
Version
10.0.22000.348
WSL Version
Kernel Version
5.10.60.1
Distro Version
any Distrib but i use Debian most of the time
Other Software
No response
Repro Steps
sudo ping google.com
Expected Behavior
send paquet to google
Actual Behavior
network unreachable with wsl2 but works fine with wsl1
Diagnostic Logs
Things i have tried
wsl --shutdown
ipconfig:
Disabled Ipv6 but nor windows nor wsl have reached network without IPv6
Disabled the windows firewall
disabled fast boot
Uninstall install WSL
Upgrade to Windows 11 (and i regret it...)
So i can't figure what is happening to my laptop, if you have any idea of what can i try to fix it I will appreciate it.
The text was updated successfully, but these errors were encountered: