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

mirrored Network looks fine! but threre have some error in log. #11498

Open
1 of 2 tasks
PeaceZhang opened this issue Apr 23, 2024 · 5 comments
Open
1 of 2 tasks

mirrored Network looks fine! but threre have some error in log. #11498

PeaceZhang opened this issue Apr 23, 2024 · 5 comments
Labels

Comments

@PeaceZhang
Copy link

Windows Version

10.0.22635.3500

WSL Version

2.2.1.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.150.1-2

Distro Version

Ubuntu-22.04

Other Software

.wslconfig:

[experimental]
autoMemoryReclaim=gradual # 可以在 gradual 、dropcache 、disabled 之间选择
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
sparseVhd=true

Repro Steps

  1. open wireshark monitoring host network adapter
  2. send command "ping baidu.com" in ubuntu terminal

Expected Behavior

  1. ping command successful
  2. in wireshark trace, ICMP Requests and replies package come in pairs and there are no unexceptions icmp error packages

Actual Behavior

  1. ping command 100% successful sent
    image
  2. wireshark has "desination unreachable" unexceped package
    image

Diagnostic Logs

wireshark_trace_icmp.zip

Copy link

Failed to parse logs. Unexpected file: wireshark_trace_icmp.pcapng
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
Found no WSL traces in the logs

@elsaco
Copy link

elsaco commented Apr 23, 2024

@PeaceZhang doesn't seem related to mirrored networking mode. Same behavior is observed on Windows 10, which doesn't support WSL mirrored mode. It's a name resolution issue. Try pinging using the IP of baidu.com (110.242.68.66) and your trace will show no ICMP errors.

@PeaceZhang
Copy link
Author

I tried directly ping ip number as your suggestion, but the error still exist:
image

@chanpreetdhanjal
Copy link

Hi. Can you please collect networking logs by following the instructions below?
https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues

@aizkibel
Copy link

aizkibel commented Oct 7, 2024

I have the same problem. Any updates?

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

No branches or pull requests

5 participants