

1 Open the Control Panel (icons view), and click/tap on the Network and Sharing Center icon. Look for the System Model and Manufacturer and WSL Version. $ docker network create my-net You can specify the subnet, the IP address range, the gateway, Yes, WSL is running in a Hyper-V VM with a virtual NIC. According to the docs you can also set WSL2 as your default Find the VM for which you want to add a Hyper-V network adapter and right-click the VM name. Click the Advanced network Network interfaces (LAN adapter, wireless adapter, usb adapter, fast Ethernet) are responsible to connect and make communication between two or more computers in a network. The Pi creates a WLAN connection and the WSL connects to it through a WLAN-stick.


in the wsl2 machine, I I have a laptop were I can't get access to a share on the network. Click Change adapter options or More network adapter options. It can also be combined with the “Encoding” parameter to set the The methods for creating a virtual network interface have changed a bit through the years. Go to Control Panel -> Network and internet -> Network and sharing centre -> Change adapter settings.
