Skip to content
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 failing to route network packets e.g. ping #9818

Closed
1 of 2 tasks
wtfrank opened this issue Mar 21, 2023 · 1 comment
Closed
1 of 2 tasks

WSL failing to route network packets e.g. ping #9818

wtfrank opened this issue Mar 21, 2023 · 1 comment

Comments

@wtfrank
Copy link

wtfrank commented Mar 21, 2023

Windows Version

Microsoft Windows [Version 10.0.19045.2728]

WSL Version

1.1.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

  1. Demonstrate windows network connectivity is working by launching cmd.exe
  2. ping well know ip addresses such as 1.1.1.1
    C:\Users\user>ping 1.1.1.1

Pinging 1.1.1.1 with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time=12ms TTL=54
Reply from 1.1.1.1: bytes=32 time=10ms TTL=54

Ping statistics for 1.1.1.1:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 10ms, Maximum = 12ms, Average = 11ms
Control-C
^C

  1. Demonstrate WSL2 network connectivity is broken by launching WSL2
  2. ping well known ip addresses such as 1.1.1.1 or 8.8.8.8

Expected Behavior

Expected: ping response from remote hosts when pinging from inside WSL2 with ping 1.1.1.1

Actual Behavior

Actual: no response from remote hosts

$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
17 packets transmitted, 0 received, 100% packet loss, time 16670ms

$ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
^C
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3122ms

Diagnostic Logs

strace of ping command
https://gist.github.com/wtfrank/793849d1b287a63a44c6bb5d8aa102ab

output of networking.bat
https://gist.github.com/wtfrank/9a7bdeb0027d28ca412b05324b91d3a4

wsl.etl is inside wsl.zip

WSL logs inside WslLogs-2023-03-21_13-17-17.zip
Inside this log, I started up WSL, then ran "ping 8.8.8.8" and "ping 1.1.1.1"

@wtfrank
Copy link
Author

wtfrank commented Mar 21, 2023

Possibly connected to Checkpoint VPN Client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant