microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.25k stars 812 forks source link

Unable to reach device under ICS network (WIN11) #10268

Open dellorogiulio opened 1 year ago

dellorogiulio commented 1 year ago

Windows Version

Windows 11 [ Windows Version: 10.0.22621.1928]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

Kernel Version

5.15.90.1

Distro Version

Ubuntu 22.04 LTS

Other Software

No response

Repro Steps

On Windows 11, configure a network adapter with static IP. Connect a device which can be reached under the previous statically set network. Ping the device from WSL => OK Ping the device from host machine => OK

Now configure the adapter under ICS, so share a internet-access network with the adapter with ICS. Now the adapter takes the ICS IP (192.168.137.1) and provides DHCP. Let the previous device take an IP via DHCP. Ping the device from WSL => KO Ping the device from host machine => OK

Expected Behavior

A device under ICS network should be reachable from WSL

Actual Behavior

A device under ICS network cannot be reached from WSL even if it is reachable from host.

Diagnostic Logs

No response

escherstair commented 8 months ago

Has someone else found this issue? Is there any workaround?

Thanks

escherstair commented 7 months ago

Sorry for pushing, but this issue has become a real pain for our development (since the working Windows 10 machines have been replaced one after another). And with the new Windows 11 machines, ICS doesn't work as explaine din this issue.

escherstair commented 5 months ago

I can just share an important update that I hope can help finding the reason for the issue. Everything works as expected on my Windows 10. But if I apply security update KB5035845 I see the issue on my Windows 10. After having uninstalled KB5035845 everything is ok again.

Is this info useful? @craigloewen-msft

Thanks in advance

escherstair commented 4 months ago

I've just updated WSL to v2.1.5 but the issue has not been solved yet. From my side, this is a major issue, because soon or later all the Windows 10 PC will be updated to Windows 11

escherstair commented 2 weeks ago

I can just share another important update that I hope can help finding the reason for the issue. Everything works as expected on my Windows 10. But if I apply security update KB5041580 I see the issue on my Windows 10. After having uninstalled KB5041580 everything is ok again.

So, both KB5035845 and KB5041580 break the functionality of ICS