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
22
votes
16 answers

How can I determine if a machine is online without using ping?

I used to use an application that could ping or maybe run a port scan on a machine even if the machine was configured to not allow it. I am currently trying to ping a remote machine on our WAN, but I have configured the machine to not allow ping. …
cop1152
  • 2,656
  • 3
  • 21
  • 32
21
votes
8 answers

Why does traceroute take much longer than ping?

How to explain this? C:\Documents and Settings\Administrator>tracert google.com Tracing route to google.com [64.233.189.104] over a maximum of 30 hops: 1 <1 ms <1 ms <1 ms 192.168.0.1 2 7 ms <1 ms <1 ms …
PHP
19
votes
1 answer

Why is ping working when all incoming and outgoing connections are blocked in the firewall?

I have DENIED both incoming and outgoing connections using ufw on Debian VPS. There is only one rule defined, which is to allow connection to SSH port. ufw is enabled and working. Yet I am still able to ping from my laptop to server using its…
Frank Martin
  • 741
  • 2
  • 12
  • 24
16
votes
3 answers

PING icmp open socket: Operation not permitted in vserver

I am running a vserver environment with several virtual machines. A single VM has the following problem: $ ping 8.8.8.8 ping: icmp open socket: Operation not permitted $ ls -l $(which ping) -rwsr-xr-x 1 root root 30736 2007-01-31 00:10 /bin/ping $…
rexkogitans
  • 324
  • 1
  • 3
  • 22
16
votes
2 answers

how to know who ping my computer ?

Possible Duplicate: How can I know when my computer is pinged? I'm using Linux. I would like to know how to tell who is pinging my computer. I have seen this similar question using Windows, but I'm not sure it applies to me.
Raja G
  • 289
  • 1
  • 2
  • 10
16
votes
12 answers

Will a higher bandwidth Internet connection lower ping response time?

It sounds obvious that a faster connection lowers latency... But I wonder: I am working remotely on a host the other side of the world - light can only travel so fast (1 foot in a nano second) and we both have broadband connections in excess of…
user55029
16
votes
7 answers

Linux command to wait for a SSH server to be up

I have a script which creates a virtual machine and gives me back an IP address. Then I would like to do something like this: waitforssh 192.168.2.38 && ssh 192.168.2.38 And it will wait for the machine to be up and ssh to be responding, then ssh…
Weboide
  • 3,345
  • 1
  • 25
  • 33
15
votes
6 answers

Network latency: 100Mbit vs. 1Gbit

I have a webserver with a current connection of 100Mbit and my provider offers an upgrade to 1Gbit. I understand that this refers to throughput but the larger the packets, the faster they can be transmitted as well, so I would expect a slight…
Andreas Richter
  • 408
  • 1
  • 4
  • 12
15
votes
3 answers

Ping from specific network adapter on Windows

Hey, I've been troubleshooting network issues on servers with 2 NICs and laptops with wired and wireless cards. How can I force the PING and TELNET to be sent from a specific adapter? I know it's a trouble with windows. Turning off one of the…
Dean
  • 1,009
  • 3
  • 10
  • 19
14
votes
5 answers

Linux router: ping doesn't route back

I have a Debian box which I'm trying to set up as a router and an Ubuntu box which I'm using as a client. My problem is that when the Ubuntu client tries to ping a server on the Internet, all the packets are lost (though, as you can see below, they…
El Barto
  • 963
  • 5
  • 16
  • 24
13
votes
3 answers

How can ping know if my host is down

When I ping a server there are two kinds of result I might get: Timeout Host is down message How does the ping command know if a host is down? In both cases, the host does not send any response to the ping packet, so how can ping tell the…
Bob5421
  • 319
  • 3
  • 8
  • 16
12
votes
3 answers

Why can't I ssh into (or even ping) my Ubuntu VM from the Mac OS X host?

I'm running Ubuntu 8.04 as a virtual machine using VMware Fusion 3.0 on Mac OS X 10.5.8. I want to be able to ssh into my VM from the Mac OS X host (so I can use MacFUSE and SSHFS to mount the VM's files on the Mac). I had this working previously,…
Daryl Spitzer
  • 2,996
  • 9
  • 33
  • 40
12
votes
2 answers

I am able to ping a device on a different subnet without passing through a L3 device. How?

I have two devices in the same broadcast domain. My PC and an Avaya IP Control Unit. My IP is 10.168.10.154/22. Avaya Device IP is 192.168.10.99/23. I am able to ping this device and don't understand how. The Avaya Device has no gateway set. Even…
Copy Run Start
  • 734
  • 1
  • 9
  • 27
12
votes
3 answers

Strange: why does linux respond to ping with ARP request after last ping reply?

I (and a colleague) have just noticed, and tested, that when a Linux machine is pinged, after the last ping it initiates a unicast ARP request to the machine that initiated the ICMP ping. When pinging to a Windows machine, the Windows machine does…
Rabarberski
  • 263
  • 1
  • 3
  • 9
12
votes
2 answers

what does `pipe ` mean in `ping` output?

While running a test to diagnose some alleged network problem, I got this output from ping: --- r01c01b11n02 ping statistics --- 30000 packets transmitted, 29995 received, 0% packet loss, time 6309ms rtt min/avg/max/mdev = 0.091/0.343/118.051/3.605…
Riccardo Murri
  • 263
  • 2
  • 8
1
2
3
63 64