虚拟机ping不通主机

vmware 中 ubuntu ping 不通host主机:
network adapter 选择桥接模式,check 复制物理网络连接状态;done.



vmware ubuntu没法上网的问题:
1.vim /etc/network/interfaces打开文件以后添加如下内容:(改成动态的获取ip)
auto eth0
iface eth0 inet dhcp
2.终端下执行:/etc/init.d/networking restart
就行了;


你可能感兴趣的:(vmware,ubuntu,ping)