`
fengyaodong
  • 浏览: 144039 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

通过虚拟机 VMware 不能ping通linux 问题

阅读更多

这个问题耽搁了一整个晚上!一直不知道怎么弄现在写出来跟大家分享!

 

首先关闭windows 和 redhat 的防火墙

windows的就不用说了!redhat 在终端 service iptables stop 或其他方式也可!

1首先在windows 实际物理网卡连接上 本地连接 属性 高级 允许其他网络用户通过此计算机连接来连接

  选择vmnet1 还有下面的允许其他网络....也选上!

2设置 虚拟机的 VMware Network Adapter VMnet1 ip为 192.168.0.1 子网掩码为255.255.255.0

3. 在redhat 里设置网络   ip 192.168.0.2 子网掩码 255.255.255.0 网关为:192.168.0.1

4.在VMware 上选择host-only

 

这样你在PING 下试试 我这样就能ping 通了

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics