Ubuntu机器没有响应来自同一网络上的Windows机器的ping
我想解决这个问题,因为这似乎是我无法与Windows机器共享ubuntu文件夹的原因。
Windows 7机器网络配置:
IP: 192.168.2.2 Subnet Mask: 255.255.255.0 Gateway: 192.168.2.1 dns: 8.8.8.8, 4.4.4.4
Ubuntu机器网络配置:
IP: 192.168.2.3 Subnet Mask: 255.255.255.0 Gateway: 192.168.2.1 dns: 8.8.8.8, 4.4.4.4
我可以从Ubuntu ping我的Windows机器,但我无法从Windows ping我的Ubuntu机器。
有什么建议?
也许你的iptables(又名防火墙)有阻止ping请求的规则。
您可以通过使用命令sudo ufw disable
iptables来轻松检查它。 再次运行ping测试。
使用sudo ufw enable
再次启用它。
4.4.4.4
不是Google DNS,Google现在已经建立了8.8.8.8
公共DNS服务器,另外还可以使用8.8.4.4
。