microsoft / WSA

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

Local Network Access isolated to gateway #531

Open AJolly opened 9 months ago

AJolly commented 9 months ago

Steps to reproduce

Turn Local Network Access on.
Check to see if you can access local devices.

✔️ Expected Behavior

I expect to be able to see all devices on the local subnet and access resources hosted on them.

❌ Actual Behavior

Running a network scan only shows the local gateway. Trying to access any local resource, including the gateway fails. image

127|redfin:/ $ ifconfig lo Link encap:UNSPEC inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope: Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:796 errors:0 dropped:0 overruns:0 frame:0 TX packets:796 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:87586 TX bytes:87586

eth0 Link encap:UNSPEC Driver virtio_net inet addr:192.168.40.182 Bcast:192.168.40.255 Mask:255.255.255.0 inet6 addr: fe80::e606:a29c:b835:bd0b/64 Scope: Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:707 errors:0 dropped:0 overruns:0 frame:0 TX packets:3062 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:413463 TX bytes:378322

loopback0 Link encap:UNSPEC Driver virtio_net inet addr:169.254.73.153 Bcast:169.254.73.155 Mask:255.255.255.252 inet6 addr: fe80::211:22ff:fe33:4455/64 Scope: Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:67 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 TX bytes:12772

redfin:/ $ ping 192.168.40.15 PING 192.168.40.15 (192.168.40.15) 56(84) bytes of data. ^C --- 192.168.40.15 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1004ms

1|redfin:/ $ ping 192.168.40.1 PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. ^C --- 192.168.40.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1037ms

1|redfin:/ $ ping 192.168.40.1 PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. ^C --- 192.168.40.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1015ms

1|redfin:/ $

Other Software

No response

Please specify the version of Windows Subsystem for Android

2311.4000.5.0

ComBatVision commented 7 months ago

I am having the same issue on Windows_11_WSA_2305.40000.6.0_x64