virtualbox搭建的虚拟机和主机ping不通

1.虚机和主机网络不通

虚机分别设置nat网络和仅主机网络,虚机内部网卡都是dhcp方式

image.png

2.问题所在

主机virtualbox网卡设置成dhcp方式,然后重启即可
image.png

评论

暂无评论