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
5
votes
2 answers

Faster way to ping URL than curl

What would be the fastest way to check whether the specified URL is working? (responding in OK http status code)? For now I'm using curl, but I have bunch of URLs to test in a loop, so I'm looking for the fastest solution. Any options to check…
Sfisioza
  • 592
  • 2
  • 8
  • 18
5
votes
2 answers

Fastest way to scan all hosts that are online

I am looking to find all the hosts that are online in a set of networks. I would like to find all hosts that are online in the entire network of 170.10.. (there are ~64K possible hosts). The network I am trying to scan is an internal local…
P.P
  • 269
  • 2
  • 3
  • 8
5
votes
2 answers

HP Procurve 2920 VLANs with DHCP cannot ping

I have problem setting up working VLANs and DHCP server on HP Procurve 2920. My problem is that I cannot even ping computers between VLANs with static ip addresees. winXP pc on VLAN101 with 192.168.1.1 static IP default gateway 192.168.1.2 win2008…
Koto
  • 53
  • 1
  • 1
  • 6
5
votes
1 answer

ping: sendmsg: Operation not permitted (sometimes)

On a Ubuntu 14.04 running Haproxy, after a service haproxy reload, Haproxy is suddenly reporting all servers behind it as down. After some digging around, I noticed that ping is not working properly, sometimes it's able to ping successfully, then…
Nyxynyx
  • 1,459
  • 11
  • 39
  • 49
5
votes
1 answer

ping -a sometimes returns host name and sometimes returns FQDN. Why? Does this mean DNS is corrupt somehow?

I have a Windows machine called abcd for example and it uses DHCP to receive an IP address (172.28.45.5 for example) When I perform ping -a 172.28.45.5 sometimes I receive abcd as the hostname. Sometimes I receive the FQDN, for example…
Blue Tongue
  • 107
  • 2
  • 3
  • 8
5
votes
2 answers

Linux ping command exits early due to ICMP host unreachable

An automated script runs shutdown -r now on a machine, and after a 30s delay, uses ping to determine when the machine is available. I've recently switched the OS from Centos 5 to Oracle Linux 6 and found the behaviour of ping has changed. I use ping…
shuckc
  • 153
  • 1
  • 4
5
votes
3 answers

Ping hostname returns another hostname in output : what does it mean?

When I ping the server sip3.voip-centrex.net, I get this output: PING sip3.voip-centrex.net (194.98.81.144) 56(84) bytes of data. 64 bytes from mpfrrelay.michaelpage.fr (194.98.81.144): icmp_req=1 ttl=50 time=35.7 ms 64 bytes from…
alci
  • 443
  • 2
  • 6
  • 15
5
votes
2 answers

openvpn: connection established, can't ping server tun interface (debian server, windows & os x clients)

My goal: I want to set up openVPN on a vServer from the company netcup, running Debian squeeze. I only want a VPN connection from client to server; clients should not be able to see each other, also the server doesn't need to serve as a gateway to…
hreimer
  • 181
  • 1
  • 2
  • 10
5
votes
3 answers

Command line tools for ping HTTP?

Background : It's a common question as we can search at google "ping works but http does not" ping is not a reliable test of network connectivity. ping working just means enough of the IP stack is up to process ICMP Echo requests (that's not a huge…
Md Mahbubur Rahman
  • 424
  • 2
  • 7
  • 15
5
votes
1 answer

Wget works, Ping doesn't

There are some anomalies on a Virtuozzo virtualized Debian 4 (I know, I'm gonna upgrade this one asap, but there dependences). We run some Websites on this one. And a view Days ago exmi4 wasnt able to send mails to SOME people. I'll use live.com as…
Harrys Kavan
  • 402
  • 1
  • 5
  • 19
5
votes
3 answers

Why is ping to Google servers and Google DNS so low?

I noticed that ping to Google DNS and to google.com from Serbia is about 15ms, but google servers are located in California! http://www.geoiptool.com/en/?IP=173.194.39.110 My dedicated server is located in Germany and our countries are close, but…
Luka
  • 375
  • 5
  • 21
5
votes
2 answers

IP address used by nslookup and ping is different

I have a web server hosted in the network. It has a domain name registered. However, I also host a DNS server for the LAN. So, when someone wants to access the web server, it would check the DNS server and use the internal address 192.168.x.x. The…
ht2
  • 61
  • 1
  • 1
  • 4
5
votes
3 answers

ping -f shows problems but regular ping doesn't

I have a strange issue, hosting at Softlayer Washington data center. Test from an EC2 instance to my server at Softlayer :- [root@EC2-box ~]# ping -f -c 100 MY-SL-BOX PING MY-SL-BOX (MY-SL-BOX) 56(84) bytes of…
sajal
  • 602
  • 7
  • 12
5
votes
2 answers

Pings from VPN network to VPN client work; pings into from VPN client to VPN network fail - why?

We are in the process of setting up an OpenVPN server for some servers running in a cloud. We are stumped with a connectivity problem whereby the hosts on the VPN server's LAN can ping te VPN client, but the reverse is not true. The VPN client can…
jonseymour
  • 243
  • 1
  • 5
  • 13
5
votes
1 answer

Loop redirect when ping my gateway

I have a router with WAN and LAN setup and act as DHCP server/gateway on my local LAN. The IP address is 192.168.1.1. Today, I was hit by an internet failure and I checked the ping and get this weird ping result. Why the router continues to look…
steveyang
  • 673
  • 4
  • 10
  • 16