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
9
votes
4 answers

How does TCP Ping or Traceroute Work?

How does the tcp ping or traceroute work? Does it take in account just the time it takes to establis the TCP handshake? Also in ICMP ping you can specify the packet size, can this be achieved in TCP ping?
GeorgeU
  • 506
  • 1
  • 5
  • 17
9
votes
4 answers

Change how Nagios determines if server is offline?

I'm new to nagios and my server is on a network which does not allow the server to be pinged. Is it possible for me to check if the server is up another way? e.g via SSH or HTTP? How would I do this so on my nagios report it doesn't show the server…
Ulkmun
  • 265
  • 1
  • 3
  • 9
9
votes
5 answers

Ping "replies" from same computer with 'Destination host unreachable' (no route to other computer)

I've got two computers in a LAN behind a wireless router. One has XP with ip 192.168.1.2 This one has W7 with ip 192.168.1.7 If I try to ping the other one from this computer, I get this: C:\Users\Srekel>ping 192.168.1.2 Pinging 192.168.1.2 with 32…
Srekel
  • 359
  • 2
  • 3
  • 7
9
votes
2 answers

How can I know when my computer is pinged?

I am trying to find a problem on a local network. I want to be able to know when a specific computer (Windows XP) is pinged. Thanks!
cenanozen
  • 195
  • 1
  • 1
  • 6
9
votes
2 answers

Why echo request doesn't show in tcpdump?

I have two network segments connected using a IPSEC-VPN tunnel : NET#1: a.b.0.0/16 with LAN gateway a.b.0.1 NET#2: x.y.0.0/16 with LAN gateway x.y.130.1 I initiate a ping from a.b.0.1 to x.y.130.100 and started a tcpdump. This later shows echo…
Younes
  • 233
  • 2
  • 6
8
votes
2 answers

A non-recoverable error occurred during a database lookup

Short version: Why does Test-Connection report "A non-recoverable error occurred during a database lookup" for an offline host on a different subnet? I'm using PowerShell to ping a remote host with the Test-Connection cmdlet: $Computer =…
Charlie Joynt
  • 229
  • 1
  • 4
  • 11
8
votes
6 answers

Does a High Variation in Ping Response Times Indicate a Potential Network Issue?

My department has recently moved offices. The previous office was fine, but in the new office, the ping times from my PC to the 2 data centres usually varies a lot, like this: Reply from 123.123.123.123: bytes=32 time=52ms TTL=123 Reply from…
Techboy
  • 1,550
  • 7
  • 31
  • 49
8
votes
2 answers

Public hosts for ping

For my firewall scripts to determine whether my ISP is up I need a few reliable, geographically distributed addresses to ping. I could just use some major sites like Google, Akamai, etc. But that seems rude. It is also unreliable, what if they…
cecilkorik
  • 455
  • 1
  • 4
  • 13
8
votes
6 answers

Ping Equivalent For Checking If A Port Is Open

How do I check if a port is consistently alive? For example, I could use ping 192.168.1.1 -t > results.txt This will ping 192.168.1.1 continuously so that I could monitor it. Is there an equivalent tool or command that I could use for…
grassbl8d
  • 283
  • 2
  • 3
  • 9
8
votes
9 answers

OS X: Can't Resolve Windows Machine Names

I'm running a mixed environment at home and at work. My server machines are Win Vista, and I have a Unibody Macbook Pro running 10.5.7 On my mac, I can ping some home windows by name (If I use the full name such as stallion-main.local), but other…
Alan
  • 530
  • 1
  • 5
  • 11
8
votes
1 answer

IPv6: Can't ping anything - "Operation not permitted"

I've been working on getting IPv6 support into my network, and had everything working properly for a short while. The server is running Ubuntu Server 8.10. Now however whenever I attempt to do anything related to IPv6 on the server, I get "Operation…
Matthew Iselin
  • 717
  • 1
  • 8
  • 20
7
votes
1 answer

Ping request could not find host www.google.com. Please check the name and try a gain

I'm using Windows XP Professional Version 2002 Service Pack 3. I have issues with DNS (after affected by some malware). I cannot ping the sites, but I can browse using a web browser. I have tried the below methods: net stop dnscache and net start…
Rauf
  • 199
  • 1
  • 2
  • 8
7
votes
3 answers

Linux : Ping all the host in the subnet

There is one solaris command to ping all the hosts in the subnet by issuing : ping -s 255.255.255.255 Is there anything similar to this one in linux ? My intention is to find one mac address as below after pinging all the hosts: arp -an | grep…
user173141
  • 127
  • 1
  • 2
  • 7
7
votes
6 answers

How can I enable Ping on an Azure Linux VM

How can I enable Ping on an Azure Linux VM, Centos 6.6 - I know we can enable this on a Windows VM, but how to do this for a Linux VM? Thanks.
leo_cape
  • 198
  • 1
  • 3
  • 15
7
votes
1 answer

How to ping ipv6 interface

I'm trying to get familiar with ipv6 I don't understand why I can't ping this interface at the inet6 addr eth1 Link encap:Ethernet HWaddr 08:00:27:77:9e:77 inet addr:192.168.33.10 Bcast:192.168.33.255 Mask:255.255.255.0 …
kevzettler
  • 167
  • 1
  • 3
  • 11