wsl 访问网络

1. (10条消息) WSL2 网络不可用 ping:: Temporary failure in name resolution_weixin_43271225的博客-CSDN博客

 

1. 用管理员打开 Power Shell

(10条消息) WSL(ubuntu) 和Cisco Anyconnect存在的网络连接异常问题_当前系统虚拟网卡metric值不为1_cfy_wyl的博客-CSDN博客

 

2. WSL 中无法ping 8.8.8.8

Get-NetAdapter | Where-Object {$_.InterfaceDescription -Match "Cisco AnyConnect"} | Set-NetIPInterface -InterfaceMetric 4000
Get-NetIPInterface -InterfaceAlias "vEthernet (WSL)" | Set-NetIPInterface -InterfaceMetric 1

posted on 2023-05-31 16:02  兔子二  阅读(121)  评论(0编辑  收藏  举报

导航