-
Notifications
You must be signed in to change notification settings - Fork 822
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
Network is unreachable on ethernet connection but Ping, Traceroute work on Debian wsl2 on windows11 version 23H2 #10744
Comments
When connected with Ethernet only ICMP requests work, but with direct PPPOE connection without any router, there is not any problem. PPPOE Networking properties: Enabled:
Disabled:
Enabled:
Disabled:
|
ipconfig on ethernet connection:
Windows IP Configuration Ethernet adapter Ethernet: Connection-specific DNS Suffix . : lan Ethernet adapter vEthernet (Default Switch): Connection-specific DNS Suffix . : Ethernet adapter vEthernet (WSL (Hyper-V firewall)): Connection-specific DNS Suffix . : |
ip command from wsl with PPPOE: $ ip addr ip command from wsl with ethernet connection: $ ip addr |
Doing these solved my problem: Select your pc, open Virtual Switch Manager Select WSL Set to external network Select the network card the traffic runs through Then login to wsl2 terminal and configure an IP address. E.g.
This is where i found it: https://stackoverflow.com/a/62438375/10853017 |
Windows Version
Microsoft Windows [Version 10.0.22631.2428]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Debian
Other Software
No response
Repro Steps
Expected Behavior
able to use wget, apt, curl commands
Actual Behavior
connection timed out Cannot initiate the connection.
Network is unreachable.
Diagnostic Logs
WslLogs-2023-11-15_21-14-23.zip
The text was updated successfully, but these errors were encountered: