参考这里
https://www.zhihu.com/question/466109327/answer/2776380650
VMware为PC A
VBox 为PC B
1.VMware, VirtualBox 设置为host only, 将两个网卡选中桥接
2.设置桥接网卡ip,如192.168.3.7(将大家设置在同一网段即可)
3.设置A 192.168.3.4, B: 192.168.3.5
参考这里
https://www.zhihu.com/question/466109327/answer/2776380650
VMware为PC A
VBox 为PC B
1.VMware, VirtualBox 设置为host only, 将两个网卡选中桥接
2.设置桥接网卡ip,如192.168.3.7(将大家设置在同一网段即可)
3.设置A 192.168.3.4, B: 192.168.3.5