-
Notifications
You must be signed in to change notification settings - Fork 854
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
send a UDP packet to 255.255.255.255 on host os failed when wsl installed #5671
Comments
In a less friendly place that would be two strikes on #5667. [And there's only two.] Let's pretend you answered: Ubuntu 20.04, WSL2, and That wireshark part of the screencap above is supposed to represent an absence of traffic going out the physical NIC, watching from the Windows side. Normal (non-broadcast) UDP traffic goes out, natch. As a practical matter, anything that wants to broadcast is going to suffer #4825 as well, independent of broadcast. Blocks implementation of DHCP (and else) for anyone venturing to try. The submission is not novel, but I can't find a good dupe target. |
@therealkenc PS C:\Windows\system32> route PRINT -4
===========================================================================
Interface List
8...00 ff 4f 2e cb 33 ......TAP-Windows Adapter V9
25...00 15 5d c9 65 78 ......Hyper-V Virtual Ethernet Adapter
6...00 e0 6e 68 00 fa ......Realtek PCIe GbE Family Controller
1...........................Software Loopback Interface 1
36...00 15 5d 8b db 2a ......Hyper-V Virtual Ethernet Adapter #2
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.16.60.254 172.16.60.81 291
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
172.16.60.0 255.255.252.0 On-link 172.16.60.81 291
172.16.60.81 255.255.255.255 On-link 172.16.60.81 291
172.16.63.255 255.255.255.255 On-link 172.16.60.81 291
172.20.240.0 255.255.240.0 On-link 172.20.240.1 271
172.20.240.1 255.255.255.255 On-link 172.20.240.1 271
172.20.255.255 255.255.255.255 On-link 172.20.240.1 271
172.21.64.0 255.255.240.0 On-link 172.21.64.1 5256
172.21.64.1 255.255.255.255 On-link 172.21.64.1 5256
172.21.79.255 255.255.255.255 On-link 172.21.64.1 5256
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 172.16.60.81 291
224.0.0.0 240.0.0.0 On-link 172.20.240.1 271
224.0.0.0 240.0.0.0 On-link 172.21.64.1 5256
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 172.16.60.81 291
**255.255.255.255 255.255.255.255 On-link 172.20.240.1 271**
255.255.255.255 255.255.255.255 On-link 172.21.64.1 5256
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 172.16.60.254 Default
=========================================================================== Look at the bold part, the metric is lower than 172.16.60.81 291 |
@xspeed1989 could you take a trace for us using feedback hub for this issue? Instructions here on how to do so. And then could you link us to the feedback hub item? Thanks! |
OK I will do it |
We suspect that winnat may be at fault. Is it possible to attempt this simple repro to confirm/deny that hypothesis? Just setup the repro. Then do: Then: to make sure it is stopped. Then see if the repro still happens. Note that you'll have to reboot your machine afterwards to get it back into the normal state. |
Started or stopped WSL2: WSL1 ( With reflection I'm not fully convinced my repro is the same as the what the OP is intending to describe. His "on host os" (read: On Windows) can be taken at its word. If your 'suspect' is Windows Hypervisor Platform related (contrast WSL) I can do my repro under a different cover and go away. |
@xspeed1989 please try |
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it. Thank you! |
Environment
Windows build number:Microsoft Windows NT 10.0.19041.0
Your Distribution version: none
the issue is on WSL 2 and WSL 1
Steps to reproduce
Expected behavior
two UDP packets can be captured on Wireshark
Actual behavior
The step 1 UDP packet can be captured on Wireshark
The step 2 UDP packet can't be captured on Wireshark
The text was updated successfully, but these errors were encountered: