Questions tagged [ping]

Ping is a mechanism to see if a remote host is reachable via an IP network

Ping is used to send an ICMP packet to a remote host. The ICMP type sent is an echo request, and the type the remote host will send back is an echo reply. Some firewalls or hosts may block ICMP, so ping should not be the only tool used for troubleshooting.

949 questions
7
votes
3 answers

Why would ping give me fast rtt values, but take a long time for each response to come back?

I've got a bit of a basic networking question here regarding ping. When pinging a particular host on a completely different subnet, I get a response like this: PING myhost.example.com (1.2.3.4) 56(84) bytes of data. 64 bytes from 1.2.3.4: icmp_req=1…
growse
  • 8,020
  • 13
  • 74
  • 115
7
votes
3 answers

Time to live exceeded, result after pinging the gateway from host in one subnet

I got a server with XenServer 6.0.2 and this server has 3 nic with 3 different ip addresses, because I am using 3 different subnet The first 2 card are working and from the first 2 subnet I have access to internet, the third one is the…
marcodv
  • 311
  • 1
  • 3
  • 14
7
votes
3 answers

able to dig a hostname but doesn't resolve via ssh or ping

I am using Snow Leopard and cannot ping or ssh into a host but am able to dig: dig some.value.host.com When the ip address comes back in the answer section, then I am able to ssh via ip address ( ssh myname@12.45.45.12). Previously (> 1 week ago),…
timpone
  • 255
  • 4
  • 11
6
votes
0 answers

OSX nslookup can resolve a lan hostname, but ping cannot?

I'm having an issue which recurs every few days, whereby ping cannot resolve a hostname on my LAN (but nslookup is able to). This is on OSX 10.9.2 (latest). The machine in this case is called 'solo', although it can occur with other hostnames at…
carpii
  • 541
  • 2
  • 4
  • 12
6
votes
2 answers

VirtualBox bridged adapter can ping but can't curl

There is a dedicated server running Ubuntu Server 12.04.2. There are 4 useable IPs for this server: A, B, C, D. The server itself takes A. The server is now running two VirtualBox guests, both with "Bridged adapter" network type. One guest is…
Zhuoyun Wei
  • 380
  • 2
  • 4
  • 11
6
votes
1 answer

ping with line numbers

Simple question: how to make ping on Linux to show line numbers in output? I mean: 1 64 bytes from www.site.com (2.7.1.1): icmp_req=1 ttl=247 time=17.9 ms 2 64 bytes from www.site.com (2.7.1.1): icmp_req=2 ttl=247 time=16.1 ms 3 64 bytes from…
mrzasa
  • 177
  • 7
6
votes
4 answers

how to check connectivity to server by windows tools?

I need to check if client can connect to server on specific TCP port. Server is listening on it. Tried "telnet server_IP port" but telnet is stuck when I see that it's connected to the server. Seems telnet waits for specific reply from the…
Andriy Tylychko
  • 197
  • 1
  • 2
  • 8
6
votes
3 answers

Monitoring: What does mysqladmin ping report?

I'm trying to monitor whether our mysql server is up. The command I'm using for this is: mysqladmin ping It will return the following: mysqld is alive Does this just check whether the process is currently running or does it also check whether the…
Richard Nienaber
  • 183
  • 1
  • 2
  • 7
6
votes
2 answers

ping fails but ssh succeeds

I'm facing a situation where one app(using ssh) can connect from Machine A (Linux) to Machine B (windows), whereas Machine A cannot ping Machine B. Another app on Machine A which connects to Machine B (not using ssh) is also failing to connect Can…
StuckAgain
  • 61
  • 1
  • 1
  • 3
6
votes
4 answers

Is it possible to ping through a NAT?

It it possible for a PC behind a NAT ping to a device that is on the outside of the NAT and get a successful response? (assuming the firewall permits it) This is a Cisco RV 120W router
700 Software
  • 2,233
  • 10
  • 49
  • 77
6
votes
1 answer

Can't ping EC2 instance after enabling ICMP packets

I followed this guide to allow me to ping my EC2 instance. In my security group I have Custom ICMP Rule - IPv4, Echo Reply, N/A, Anywhere. However it simply doesn't work. If i run ping ec2-X-X-X-X.ap-northeast-1.compute.amazonaws.com, or if I run…
5
votes
1 answer

Why EC2 instance continues responding to a ping request after deleting the inbound security group rule?

While playing around with AWS console, I tried the following Launched an EC2 instance (public IP enabled) in the default VPC with the default security group, and default subnet. EC2 launched in the default subnet with a public IP. pinged the EC2…
5
votes
2 answers

Fast pinging without requiring the response

I am trying to measure one way latency between two machines and I would like to use ping to send ICMP packets from one machine to another. The interval between the packets should be 1 micro second (1us) and I want to sent 1 million packets (10^6),…
Grey
  • 151
  • 1
  • 4
5
votes
2 answers

Slow ping responses on LAN, but only in one direction

I've been investigating intermittently dropping RDP connections from my laptop and decided to ping another machine on the same subnet to see if there are any dropped packets or slow responses. The results I see are very confusing to me, so I wonder…
5
votes
3 answers

Hyper-V: Not able to ping my local VM from Host

I have an external ethernet switch which I'm using to connect to my VM. I'm able to access internet on my local VM. The problem is that I'm not able to ping it. I've done the following after reading through many posts asking the same…
90abyss
  • 169
  • 1
  • 1
  • 5