microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.4k stars 819 forks source link

Need to be able to assign a specific cidr range for DHCP in WSL2 distros #5275

Open djgilcrease opened 4 years ago

djgilcrease commented 4 years ago

When I connect to my corporate VPN they use the CIDR range 172.16.0.0\16 which seems to always conflict with the CIDR range being used by Hyper-V / WSL so I cannot connect to the internet from the WSL distro, and sometimes not even connect to my corporate network if the IP address assigned happens to already be in use.

Describe the solution you'd like I would like to be able to assign a specific CIDR range for use by the Hyper-V Default Switch &| the WSL vswitch.

therealkenc commented 4 years ago

Ref #4601.