Recently installed Ubuntu and Kali-linux distro on Windows Subsystem for Linux (WSL2) on different drive as per this stackoverflow question manually. The issue is that the network speed is capped at 30–40 Mbps, but I have a network bandwidth with up to 150 Mbps. This is the same across any application on both the distros. On installing a WSL distro using the wsl-command in PowerShell (distro is installed to the Windows Drive), there is no network issue and the speed is not capped, and full bandwidth is used.
System Info
OS : Windows 11 Home
C:/ Windows Drive [Disk 1 SSD]
D:/ Data Drive [Disk 2 HDD, Partition 1]
K:/ Data Drive [Disk 2 HDD, Partition 2] [WSL Distros installed here]
There is a separate Virtual network interface for WSL created, and this interface is not present in the control panel network adapters section.
ipconfig gives the following output:
Ethernet adapter vEthernet (WSL):
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::9656:d028:8652:66b6%64
IPv4 Address. . . . . . . . . . . : 172.21.144.1
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . :
What is the reason for this behaviour (low network speed)?
Is there any way this can be fixed by modifying the vEthernet NIC settings?