microsoft / WSA

Developer-related issues and feature requests for Windows Subsystem for Android
MIT License
1.45k stars 798 forks source link

Local Network Access: WSA Network Adaptor does not match the host Network Adaptor netmask/subnet #519

Open CPaxman opened 5 months ago

CPaxman commented 5 months ago

Steps to reproduce

With local network access enabled I still could not connect to some local only services. I used ADB to shell into the WSA instance and running ifconfig I noticed that eth0 had the correct IP Address but the netmask was 255.255.255.0 when it should have been 255.255.252.0

image

image

✔️ Expected Behavior

Netmask to match the host network adaptor when in the bridged/Local network access mode is enabled.

❌ Actual Behavior

Netmask is 255.255.255.0 instead of 255.255.252.0 in this scenario

Other Software

No response

Please specify the version of Windows Subsystem for Android

2311.40000.5.0