3 ms·
The WSL instance is a special kind of VM, in a virtual network that gets masqueraded onto whatever network the host is on, yet nowhere in Windows can you manage
by j0057 4y ago
The WSL instance is a special kind of VM, in a virtual network that gets masqueraded onto whatever network the host is on, yet nowhere in Windows can you manage this, for example to set the subnet the WSL runs in. Sometimes you have to reboot to get DNS going again. I'd call that not great.
- nikau 4y agoyou can normally just disable/reenable the virtual network switch to fix that. Not elegant but does the job: > netsh interface set interface "vEthernet (WSL)" disable then run again with enable.