-
Notifications
You must be signed in to change notification settings - Fork 840
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
WSL networking stopped working #9890
Comments
Could you check if running the following command fixes the issue? echo nameserver 1.1.1.1 | sudo tee /etc/resolv.conf |
Unfortunately this will only make the problem worse, as DNS does work. |
Seeing this exact same issue
I've tried everything I can think of, just like @krippix I can see the packets return from their destination but it's like the Ubuntu install is ignoring them. The weird thing is DNS is resolving fine:
|
Now I feel like i'm losing my mind. I was on Windows 10 and all was fine. I upgraded to Windows 11, which was the OS in the above wsl.exe --version output. Now i've downgraded back to Windows 10 and i'm having the same problem! I've tried various different versions of WSL Kernel and WSL version. All broken.
I have compared that with an adjacent PC with a similar spec, where WSL2 is working fine - the versions are all the same. |
I have fixed this, special thanks to @kunzjacq in this thread: When I upgraded my PC, I also moved it. I used an ethernet port where once there was a switch. It was set up as a trunked port. If VLANs are present on your ethernet, you get exactly the problem described above. I have made the port an access port and now everything is fine. |
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! |
Windows Version
Microsoft Windows [Version 10.0.22621.1413]
WSL Version
1.1.6.0
Are you using WSL 1 or WSL 2?
WSL 2
Kernel Version
5.15.90.1
Distro Version
Ubuntu 22.04 / Debian 11.6
Other Software
No response
Repro Steps
Expected Behavior
WSL reacts to incoming packages
Actual Behavior
WSL seems to ignore any incoming packages.
Diagnostic Logs
Sent via feedback-hub as the logfile generated from the script got quite large.
Example when pinging google.com (note that DNS does work):
Update: 05 July 2023
Downgrading my Ubuntu WSL instance to WSL1 fixed the issue there. But WSL2 still refuses to do so.
The text was updated successfully, but these errors were encountered: