Questions tagged [ping]
A utility available on all operating systems that helps test network connectivity.
110
questions
387
votes
4
answers
55k
views
Why does pinging 192.168.072 (only 2 dots) return a response from 192.168.0.58?
I mistakenly missed the dot off of an IP address and typed in 192.168.072.
To my surprise I connected to a machine at 192.168.0.58
If I ping 192.168.072 I get responses from 192.168.0.58.
Why is ...
36
votes
12
answers
453k
views
Why do I get "General Failure" when pinging host name on a Win 7 node on the network?
This is a very peculiar problem with a station on our network. The client pc is running Windows 7 Pro. What makes this problem interesting is that this client is the only node on the network that ...
55
votes
6
answers
233k
views
Pinging a machine on my local network gets an 'unreachable' response from my own IP address?
Edit for future readers who get here from google:
This question is now the top google result when searching for 'destination host unreachable from my own ip address'. If that's how you got here, then ...
44
votes
7
answers
180k
views
Ping to Windows 10 not working if "file and printer sharing" is turned off?
I have one Windows 10 computer on a local network.
When I try to ping the Windows 10 machine from some other computer, it fails (Request timed out). From the Windows 10 machine, I can ping other ...
38
votes
6
answers
136k
views
Why is there a difference between ping "localhost" and ping "local IP address"?
Using cmd and ping on Windows gave me the following results:
Pinging "localhost":
Pinging "192.168.0.10" (local IP address):
Aren't both situations exactly the same?
I mean, I'm pinging the same ...
390
votes
1
answer
24k
views
Ping faster than light
I just discovered very strange thing while testing my internet connection.
My ping is smaller than it should be. For example ping time to Arizona State University is about 14ms.
eryk@eryk-pc:~$ ping ...
26
votes
5
answers
99k
views
how does 'ping' command really work?
How does the ping command really work? Specifically where does the ARP (Address Resolution Protocol) come into picture?
I was asked this question in an interview and I was not able to come up with ...
1
vote
2
answers
17k
views
What can I do about "ping flooding"?
Recently I have started getting period of poor connections on my home LAN. So, today after my connection was unresponsive for a while once again, I decided to take a look at what was the problem. The ...
46
votes
9
answers
129k
views
avahi: ping can't resolve hostname, but nslookup can
ping tells me that it can't resolve some hostname ("ping: unknown host domain.company.local") in a URL but when I use host or nslookup on the same computer on the command line, the resolutions works ...
45
votes
2
answers
52k
views
How does a NAT server forward ping ICMP echo reply packets to users?
NAT uses an IP address port number combination to hash the outgoing requests. Since ping requests consist of ICMP echo request packets, they do not have any associated port number. How does a NAT ...
0
votes
1
answer
6k
views
How to simulate traceroute using ping?
I am learning computer networks and looking for a way to simulate traceroute using the ping command. I think it has something to do with ttl, but I don't know how to develop that further.
268
votes
11
answers
645k
views
Is it possible to ping an address:port?
I am not into networking, and I have the following question related to the Linux ping command.
Can I only ping an address? For example:
miner@raspberrypi ~ $ ping onofri.org
PING onofri.org (67.222....
121
votes
7
answers
7k
views
Why can't I email myself at: [email protected]?
I opened cmd and typed ping gmail.com. It shows me:
C:\Windows\system32>ping gmail.com
Pinging gmail.com [74.125.235.55] with 32 bytes of data:
Reply from 74.125.235.55: bytes=32 time=6ms TTL=56
...
79
votes
3
answers
192k
views
how to ssh to a ipv6 ubuntu in a LAN?
I'm able to ping my Ubuntu box via command: (where c2h2ttt is listed in /etc/hosts)
c2h2@c2h2crawler:~/ttt$ ping6 -I eth1 c2h2ttt
PING c2h2ttt(c2h2ttt) from fe80::21b:21ff:fe22:e865 eth1: 56 data ...
58
votes
4
answers
191k
views
How to ping when behind a proxy?
I am using an HTTP proxy server to connect to the internet.
Because of that my pings are not working
ping www.google.com
says Unreachable Host
How can I configure ping to use the HTTP proxy?
44
votes
9
answers
499k
views
How can I ping a range of IP addresses simultaneously [closed]
I have a bunch of machines on an IP address range which I want to ping simultaneously as a quick and dirty way of telling which ones are switched on. What (free) software can I use to do this?
I'm ...
42
votes
12
answers
280k
views
How can I perform a ping every X minutes and check the response time?
I am currently working in a big company and we have serious latency issues.
This is happening in a process control system, and is unacceptable (Open a valve sometimes take 2 minutes before command ...
21
votes
8
answers
207k
views
Save Ping Output in a text file
I often have to ping servers for connectivity status. Is there a way to save the ping results (output) in a text file so that I can save entire day's ping results in a text file.
I am using Windows ...
15
votes
4
answers
12k
views
Negative ping time?
This is the first time I've seen this and I'm not sure what it means;
64 bytes from 74.125.93.99: icmp_seq=6233 ttl=53 time=545.493 ms
64 bytes from 74.125.93.99: icmp_seq=6234 ttl=53 time=776.093 ...
7
votes
3
answers
11k
views
How does 0.0.0.0 binding happen in Linux?
A ping to 0.0.0.0 responds from 127.0.0.1. However, if I shutdown the localhost loopback and keep another interface up with another ip, then ping 0.0.0.0 gives an error
$ping 0.0.0.0 connect: Invalid ...
7
votes
2
answers
43k
views
How to increase ping time/network connection latency on Windows?
I need to permanently increase network latency in approximately 100ms, without losing packets.
Reason: On a certain server and internet game my ping is too much lower than the other people playing it....
6
votes
2
answers
4k
views
Show current ping to website on Taksbar
I'm looking for a way to monitor my current internet connection quality by showing the ping-response to a website like google in the taskbar on the right side. I'm using Windows 8.1.
Kind of like ...
4
votes
5
answers
93k
views
Ping IP returned "destination net unreachable", even with different network
I couldn't log in to facebook, so I ping the domain and got this:
ping www.facebook.com
Pinging www.facebook.com [69.171.228.14] with 32 bytes of data:
Request timed out.
Reply from ...
3
votes
3
answers
21k
views
Enable ping in Windows 7 firewall?
Server Fault tells that the new syntax to enable ping on Windows Server 2008 is
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request"
protocol=icmpv4:8,any dir=in action=...
3
votes
5
answers
8k
views
A better way to monitor my internet connection other than ping
edit: despite the very good answer I once accepted, now I'm look for a simpler tool that requires no installation or preparation. Something like a ping with a timestamp would be of great help already.
...
3
votes
4
answers
12k
views
Ping myself, works with ipv6 not ipv4 in Windows 7
I've tried to solve the following problem with no luck and I need some proffesional help.
The following is possible:
Ping all computers (that I tried) in the domain without problem.
Ping myself with ...
2
votes
1
answer
9k
views
Why is IPv6 ping failing to access google.com?
I have found that ping google.com from my Windows 7 box has stopped working.
Below is the output - note that the IPv4 ping works, and Yahoo works. Is my local router at fault here?
C:\Users\Jeff>...
2
votes
1
answer
2k
views
High ping in LAN from my workstation to Android
I noticed that on my workstation (Windows 7, connected through ethernet cable) I ping between 100-500ms to my Android phone which is also, of course, connected to the same WiFi through wireless.
...
2
votes
1
answer
5k
views
Mac OS X Mountain Lion can't ping/telnet localhost. Point to a wrong public IP
I've been developing Node.js apps on my localhost on port 1337 for last two years with no problem as shown below.
$ node app
App started on port 1337
Today I wanted to test how things go with ...
2
votes
4
answers
36k
views
Jumbo packet ping from PC (windows 10)
Referring to this link How to test if 9000 MTU/Jumbo Frames are working - Blah, Cloud.
I tried to follow its instruction guide to ping Jumbo packet from my PC (Windows 10).
ping -f -l 9000 192.168.1....
1
vote
0
answers
611
views
Cannot Resolve Host Or Access Website Through Router
This is weird. I am on Windows XP with Edimax BR 6204Wg. I have 3 devices - 2 laptops and 1 smartphone. 1st laptop and smartphone are connected through WiFi to router and 2nd laptop is connected ...
0
votes
1
answer
263
views
what does this ping listing mean -- it does not have an IP address but some hex numbers
Something's screwy on our network at work, and I'm no longer able to reach a server where I'm developing a database application. I'm not the network admin, and he's out sick.
When, from my ...
0
votes
2
answers
4k
views
I can’t ping my router from the outer [closed]
I am trying to remote the server of my company from my home.
I enter the router of the company and I get this info:
Internet, IPv4
POST LuxFibre LAN1 NG, IP address: 10.244.149.239
But I also ...
0
votes
1
answer
313
views
Game latency increases during day, not shown in ping command
Command-line ping command shows 81ms to eu.newerth.com server 24/7. However for the last few days my in-game ping is 135 during the day, and 95 during the night (correlates with times of low server ...
0
votes
1
answer
887
views
Why I cannot ping 192.168.0.108 (my computer IP?)
Ipconfig says that my IP is 192.168.0.108
C:\Users\vbcbu>Reply from 192.168.0.108: Destination host unreachable.ip
'Reply' is not recognized as an internal or external command,
operable program or ...
70
votes
2
answers
175k
views
Why is my localhost not 127.0.0.1 but ::1, and what notation is that? [duplicate]
When I use the Ping command against my localhost (on Windows Vista), it doesn't show up as 127.0.0.1.
C:\Windows\system32>ping localhost
Pinging GIGA [::1] from ::1 with 32 bytes of data:
...
30
votes
8
answers
76k
views
Cannot ping a Windows 11 machine
I'm trying to ping my Windows 11 machine from a Linux device. Here's what I've tried so far:
Disabling Windows Defender Firewall
Enabling inbound rules from the Advanced Options
Restoring firewall &...
28
votes
7
answers
67k
views
How can I do a ping every 500 ms?
By default the time delay between two pings is equal to 1 second. My need is to reduce the delay between two pings to 500 ms (0.5 seconds). Is there any way to do this?
28
votes
1
answer
351k
views
How to ping an IP address from an Android device? [closed]
Is there a way to ping an IP address from an Android device?
Is there a Android built-in application or am I to download an app for my task?
25
votes
3
answers
35k
views
How do I ping localhost using IPv6?
I'm trying to understand IPv6 better.
Firstly, I try ifconfig, and I get the following:
eth0 Link encap:Ethernet HWaddr XXXXXXX
inet addr:X.X.X.X Bcast:X.X.X.X Mask:XXXXXXXXX
...
20
votes
3
answers
31k
views
I can tracert to an IP address, but not ping it
On Windows, if I tracert to Google I get the following;
C:\Users\Dave>tracert -d -w 100 www.google.com
Tracing route to www.google.com [216.58.220.100]
over a maximum of 30 hops:
1 <1 ms ...
20
votes
4
answers
67k
views
How can I ping via an alternate gateway?
Our network has two modems, each one hidden behind a router. The primary router is on 10.1.1.1, the backup router is on 10.1.1.2, and are both configured to the 10.1.1.0/24 subnet. Both routers have ...
19
votes
1
answer
3k
views
Pinging different IP address than what I entered [duplicate]
Can anyone please explain why CMD pings a different IP address than the one I am searching for?
16
votes
2
answers
28k
views
Why do companies block 'ping'?
I can browse all the websites in my company work station, but not open the command prompt and ping any website. This has happened in 2 of my previous companies too. Do companies block ping?Why do ...
13
votes
5
answers
94k
views
Why does 'ping' returns 'request timed out' for some hosts?
For some hosts, ping www.example.com it resolves their IP but why does it fails with request time out? I have also tried to increase the ping response time but still the same result.
12
votes
2
answers
7k
views
If I ping 192.168.1.4, why is 192.168.1.2 responding?
When I run the command ping 192.168.1.4 I get the following results:
Pinging 192.168.1.4 with 32 bytes of data:
Reply from 192.168.1.2: Destination host unreachable.
Reply from 192.168.1.2: ...
11
votes
1
answer
45k
views
windows 10 WSL ubuntu unable to ping anything
I cannot ping any website when I am using WSL for windows 10. I'm running Ubuntu 18.04 in WSL.
--- google.com ping statistics ---
14 packets transmitted, 0 received, 100% packet loss, time 38567ms
is ...
9
votes
8
answers
34k
views
Why does the ping command in my batch file execute in a loop?
I created a .BAT file in Windows 7 that has the following line:
PING XXX.XXX.XXX.XXX -t
(XXX replaces the actual IP number). However, when I double click on this batch file, I can see the ping ...
8
votes
6
answers
60k
views
Can ping IP address and nslookup hostname but cannot ping hostname temporarily in Windows
I have a DNS server set up on one of my machines using BIND 9.7 Everything works fine with it. On my Windows 7 desktop, I have statically-assigned all network values. I have one DNS server set -- my ...
7
votes
1
answer
12k
views
Ping server/domain and capture its IP on Linux
With Windows, you could ping a given domain name and capture the IP as a variable, even if no reply was received. I believe the command looked something like this:
ping domain.com
for /f "tokens=1,2 ...