1、防火墙
首先检查Ubuntu防火墙是否开启,如果开启,请关闭。
查看防火墙开启与否指令: service iptables status
关闭防火墙指令:service iptables stop
Ubuntu16.04可以ping通Windows,但Windows无法ping通Ubuntu的解决方案

2、网络连接方式
网络连接方式选择NAT模式。
Ubuntu16.04可以ping通Windows,但Windows无法ping通Ubuntu的解决方案

3、网段设置

Ubuntu和Windows需要在同一网段才能互ping。

(1)使用ifconfig查看Ubuntu IP地址网段
Ubuntu16.04可以ping通Windows,但Windows无法ping通Ubuntu的解决方案

(2)设置Windows虚拟网卡网段与Ubuntu为同一网段
Ubuntu16.04可以ping通Windows,但Windows无法ping通Ubuntu的解决方案
修改完保存后,Ubuntu和Windows就可以相互ping通了。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2021-07-08
猜你喜欢
  • 2021-07-14
  • 2021-08-11
  • 2021-09-24
  • 2021-12-05
  • 2022-01-21
  • 2021-11-17
  • 2021-11-18
相关资源
相似解决方案