问题
- vmware虚拟网卡测试不通过
- 采用wifi网卡测试通过
配置
-
新建虚拟网桥
-
网桥结构
-
windows配置
[wsl2]
networkingMode=bridged
vmSwitch=Ubuntu
ipv6=true
memory=4GB
processors=2
- WSL2配置
/etc/wsl.conf
[boot]
systemd=true
[network]
generateResolvConf = false
- 增加/etc/reslove.conf
/work# cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 114.114.114.114