search

Home  >  Q&A  >  body text

android - 同局域网,电脑可以ping手机,手机不能ping电脑是什么原因?

迷茫迷茫2769 days ago789

reply all(3)I'll reply

  • 迷茫

    迷茫2017-04-17 16:36:03

    In this case, centos in vmware, the network should use NAT forwardingcentosvmware中,网络应该使用的是NAT转发

    可以搜索一下NAT,大概就知道怎么回事了

    vmware支持多种网络形式设置

    使用桥接的话,centos就可以有自己单独的和手机一个级别的局域网IP;NAT模式下,centos

    You can search for NAT and you’ll probably know what’s going on

    vmware supports multiple network settings🎜 🎜If you use bridging, centos can have its own LAN IP at the same level as the mobile phone; in NAT mode, the LAN IP of centos is Under the management of your own computer (HOST), the next level of LAN. 🎜 🎜Network Address Translation - Wikipedia🎜

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 16:36:03

    centos comes with a firewall that prevents pinging. Enter sudo systemctl stop firewalld or sudo iptables -F to turn off the firewall.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 16:36:03

    Try using bridge?

    reply
    0
  • Cancelreply