Can I set a static ip address for WSL 2? - Stack Overflow
http://go.microsoft.com/fwlink/?LinkID=617350
WEBOct 23, 2021 · With the latest Windows 11 (22621+), you can already specify the network adapter you want to use for WSL2 in .wslconfig: [wsl2] networkingMode=bridged vmSwitch=my-switch ipv6=true So, now you can create a Hyper-V external virtual switch for WSL2 and fix the IP address, no other scripts are required. It works out-of-box. The …
DA: 37 PA: 43 MOZ Rank: 13