Comment by jesse_dot_id
11 hours ago
My problems weren't performance related, aside from the occasional catastrophic memory leak; most of my biggest headaches were related to networking.
11 hours ago
My problems weren't performance related, aside from the occasional catastrophic memory leak; most of my biggest headaches were related to networking.
They finally fixed the networking thing a while back.
In current WSL2, Windows owns the IP address, the NIC, DHCP, ARP, etc, and it’s shared with the Linux VM.
It’s really kinda magic… Linux sees the same IP address as windows does, and you actually get address-in-use errors if Linux tries to listen on a port Windows is already listening on, and vice-versa. So there’s no NAT going on or any internal 172.x net within the Linux VM, you just run “ip addr show” and you see the same real IP addresses that “ipconfig” shows you in windows.
(I no longer have a windows installation but WSL2 got noticeably better with networking some time before I gave up on windows.)
Also no, I didn't.