我正在终端中使用 ping 命令,但由于某种原因,我发送的所有 ping 都没有被收到,如果我ping www.google.co.uk
总是 100% 丢包,即使我可以访问www.google.co.uk在 Firefox 中一切正常。ping 0
是唯一不返回 100% 数据包丢失的地址。我该如何修复这个问题?到底哪里出了问题?例如,我使用“ ping www.google.co.uk
”,它发送了 56(84) 个字节的数据包,但一个都没有收到。
的输出sudo ufw status verbose
是'status: inactive'
的输出date ; ping -c 4 www.google.co.uk ; dmesg -T | tail
为:
Fri Nov 20 11:37:19 GMT 2015
PING www.google.co.uk (216.58.208.35) 56(84) bytes of data.
--- www.google.co.uk ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3022ms
[Fri Nov 20 11:07:27 2015] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[Fri Nov 20 11:07:27 2015] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A )
[Fri Nov 20 11:07:27 2015] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm), (0 s)
[Fri Nov 20 11:07:27 2015] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm), (0 s)
[Fri Nov 20 11:07:27 2015] cfg80211: (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[Fri Nov 20 11:07:27 2015] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by e0:1c:41:11:d8:29
[Fri Nov 20 11:07:28 2015] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[Fri Nov 20 11:07:28 2015] ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
[Fri Nov 20 11:07:28 2015] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[Fri Nov 20 11:09:49 2015] ip_tables: (C) 2000-2006 Netfilter Core Team
答案1
过去几年里,我注意到谷歌域名(包括我个人使用的 ISP)不再响应 ICMP 流量,而 ping 正是通过 ICMP 流量实现的。我认为这是设计使然。
您能 ping 通您的网关吗?