Questions tagged [ping]

A utility available on all operating systems that helps test network connectivity.

Filter by
Sorted by
Tagged with
381
votes
4answers
53k 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 ...
33
votes
12answers
398k 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 ...
34
votes
6answers
108k 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 ...
382
votes
1answer
23k 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 ...
25
votes
5answers
91k 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
2answers
16k 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 ...
42
votes
9answers
117k 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 ...
43
votes
5answers
189k 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 ...
30
votes
4answers
115k 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 ...
0
votes
1answer
4k 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.
70
votes
3answers
170k 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 ...
120
votes
7answers
6k views

Why can't I email myself at: MyEmail@74.125.235.55?

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 ...
41
votes
9answers
396k 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 ...
37
votes
3answers
111k 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?
29
votes
11answers
176k 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 ...
18
votes
7answers
139k 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 ...
3
votes
5answers
6k 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. ...
15
votes
4answers
11k 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 ...
6
votes
2answers
32k 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....
4
votes
4answers
52k 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 ...
6
votes
2answers
3k 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 ...
3
votes
4answers
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
1answer
6k 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>...
1
vote
0answers
601 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 ...
1
vote
1answer
4k 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 ...
1
vote
1answer
929 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. ...
0
votes
1answer
292 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
1answer
114 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
2answers
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 ...
228
votes
11answers
460k 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....
31
votes
2answers
38k 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 ...
66
votes
2answers
127k 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: ...
22
votes
3answers
27k 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 ...
24
votes
1answer
260k 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?
8
votes
8answers
28k 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 ...
20
votes
4answers
46k 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 ...
15
votes
2answers
23k 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 ...
7
votes
1answer
9k 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 ...
3
votes
3answers
19k 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
2answers
32k views

Pinging own machine returns an IPv6 address instead of IPv4

When I ping my own machine I get an IPv6 address: Reply from fe80::1004:p8f0:9e40:a42c%10: time<1ms Reply from fe80::1004:p8f0:9e40:a42c%10: time<1ms I used to get the IPv4 address (eg. 192....
13
votes
4answers
82k 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.
5
votes
8answers
5k views

How to explain low RTT between extremely long (10s) ping intervals?

I am using the ping utility to troubleshoot what seems to be a slow Internet connection on my home network, but I'm finding the results unusual and difficult to interpret. I have a Linksys wireless ...
4
votes
2answers
13k views

Ping fails to find host but NSLookup resolves okay on Windows

We have an intermittent problem on Windows 8 whereby Ping fails to find the host but NSLookup resolves it correctly. Ping host1 - fails with ping could not find host Ping host1.domain.local - also ...
3
votes
1answer
187 views

Log ping and date isn't working [closed]

:START echo %date% %time% && ping -n 1 192.168.1.1 >> pingReport.txt 2>&1 echo %date% %time% && ping -n 1 192.168.1.2 >> pingReport.txt 2>&1 echo %date% %time%...
3
votes
1answer
2k views

why can I not managing to block an IP address in windows 7 firewall?

I pinged google C:\Users\user>ping 216.58.211.164 Pinging 216.58.211.164 with 32 bytes of data: Reply from 216.58.211.164: bytes=32 time=41ms TTL=128 Now I want to try blocking that IP So ...
2
votes
1answer
962 views

Windows firewall and ping

I am experimenting on blocking all outbound traffic by default using Windows Firewall. I then wish to explicitly allow ICMPv4 outbound by the PING.EXE program. Hence, I explicitly create custom rules ...
2
votes
3answers
35k views

Two devices cannot ping each other through WiFi

I have WiFi router connected to the Internet through pppoe. Router has latest version of firmware installed. I have no any antivirus software running and firewall enabled. My router is ASUS RT-N10LX(...
2
votes
1answer
2k views

Window 8 machine cannot ping devices on same subnet

After returning from vacation during which several Windows updates were applied and my router suffered a hard power cycle, my Windows 8 Desktop can no longer ping other devices on the same subnet. ...
2
votes
0answers
377 views

WiFi Range Extenders, and Failing ARP requests

I'm working on a network, as outlined below - a BT HomeHub 5, and a Netgear EX6150 WiFi extender. There are other points on the network though I've left them out for brevity, and all of the pink ...
1
vote
1answer
17k views

Online computer not responding to pings

I was doing a bit of scanning on my network lately, knew all the hostnames to each computer connected. But whilst pinging one of them ping returned Request timed out.. This is strange as I know the ...