A tool commonly used to test the reachability of a given host, either on the internet or in a local network.

learn more… | top users | synonyms

-1
votes
1answer
19 views

Arping to google.com fails

I am trying to follow the instructions here, https://wiki.archlinux.org/index.php/Netconsole to set up netconsole in ubuntu machine. This uses, arping command which is non-responsive when i run it in ...
1
vote
1answer
2k views

Using ping on multiple interfaces on a NIC

I have two systems and each have a NIC with two ethernet ports. One system has a verified NIC card, but the other has a NIC which has to be verified. I use ping to verify whether the interfaces on ...
11
votes
3answers
11k views

Can one ping a NIC by MAC

I have an NIC card on a Debian machine somewhere. The machine is turned off, but I need to know whether the NIC card is turned on so that I can send a wake-on-lan magic packet later (from another ...
1
vote
2answers
2k views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
2
votes
1answer
27 views

ping statistics

When ping displays statistics the field mdev is the std deviation of all the ping times. It is the average time (in ms) to the average avg. But because ping times are stricktly positive, I don't ...
0
votes
1answer
61 views

Arch-Linux after system-update no internet connection but connection lan

Yesterday I updated my Arch Linux after 2 Months with sudo pacman -Syu and after the reboot I don't get any connection with the Internet neither from Browser nor with Skype, etc. When I try to ping ...
-1
votes
2answers
30 views

Curl, ping hangs/waits when using private network ips

I have a whole bunch of servers working inside my office premises private network. When i try to run my tests outside office network, curl/ping/python/nodejs requests library, all of them waits ...
3
votes
3answers
154 views

For some IPs, ping -c 4 -W 1 ip | cat does not output anything until ping has finished, whereas it does for others

Why do $ ping -c 4 -W 1 127.0.0.1 | cat and $ ping -c 4 -W 1 1.1.1.1 print their output immediately, whereas $ ping -c 4 -W 1 1.1.1.1 | cat prints nothing for four seconds, then prints all ...
0
votes
0answers
31 views

Can't ping another router in my network (OpenWrt)

I'm playing around with OpenWrt and followed this tutorial step by step to set up a mesh network: http://wiki.openwrt.org/doc/howto/mesh.80211s Problem: When I got to the end and ran these two ...
0
votes
0answers
30 views

Pinging between Mesh Network Nodes OpenWrt

I have two mesh nodes that I have configured to be on a mesh created using OpenWrt. I used the tutorial here to set that up. When I ran iw dev $MESH_IFACE station dump, I got the output that I ...
0
votes
1answer
12 views

dig domain replay SOA

I have a domain and when I use dig jeeja.biz it just gives me my server ip address. ;; ANSWER SECTION: jeeja.biz. 13914 IN A 209.15.212.171 But when I use the same command on another ...
1
vote
3answers
13k views

Changing the IP Address in Solaris 11

I am trying to change the IP address in Solaris, but am failing to do so. The IP address needs to be a fixed number, like 10.0.11.10 I have tried changing the IP address in /etc/hosts which I ...
1
vote
1answer
36 views

How to interpret ping output

Since 3 days ago I can not open (from outside Brazil) the site UOL. First I thought it could be off line. But 3 days! It is a very big Internet web site and host. I tried with FF and Google, but ...
1
vote
0answers
123 views

Hostname resolves to wrong IP address

When I ping the hostname of my phone from a RaspberryPi (with Raspbian installed), it resolves to the wrong IP address: pi@raspberrypi ~ $ ping isimon.fritz.box PING isimon.fritz.box ...
1
vote
2answers
132 views

Script to Ping an IP and create a log showing date/time of any fails, times over 500ms, and traceroute any fails [closed]

Like the title says I am trying to make a script to run constantly that produces a log showing ping stats. I want the log to contain and ping fails, times over 500ms and the traceroute of any ...
-1
votes
1answer
65 views

Ping to LAN address takes an incredibly long time?

I'm running CentOS 7 in a lab environment with one domain controller (DC - Windows 2012R2) which serves as a DNS and DHCP server as well. CentOS is joined to the domain; it can ping the DC and a ...
4
votes
1answer
653 views

Ping doesn't work, but I can browse through the internet

Pinging my default gateway is working properly and I can browse google and facebook in my browser. But, ping google.com and ping facebook.com on my terminal are not working. PING google.com ...
2
votes
2answers
75 views

Peculiar issue with ping

I'm using ping from package iputils-ping (3:20121221-4ubuntu1.1) on Ubuntu 14.04. When pinging a host host2.lan with IP 192.168.1.20 that is down initially but comes up during the run of ping, I see ...
1
vote
1answer
179 views

cannot ping my computer on local network

I am running on 64 bit OpenSuSe 13.2 with Gnome 3 desktop environment and unsuccessfully trying to set up Samba Server. I have another computer running windows 8.1 from which I am pinging the ip ...
0
votes
1answer
37 views

Ping: Result shows 56(84) instead of what is expected

I'm trying to modify a script to show lost packets as well as ping results. I'm only including the section that isn't working as some of the commands in the script are company specific. for myHost ...
0
votes
1answer
49 views

No buffer space available when using Dummynet in FreeBSD 9.3

I have a peculiar problem - as soon as Dummynet Kernel module is loaded and appropriate ipfw add pipe 1 from localhost to localhost command is issued, I no longer can ping localhost - I receive the ...
4
votes
2answers
49k views

Host unreachable and I do not get why

I can not open a specific website. This is a website hosted by our company, and I know it is up. However, these are my symptoms: VARIABLES: host.com - the website I can not open x.x.x.x - the IP of ...
4
votes
1answer
145 views

Redirection to file does not work properly

I have here a bash script: #!/bin/bash TARGET_FILE=ping_result.txt # declare the target ip addresses declare -a ips=("XXX.XXX.XXX.XXX" "YYY.YYY.YYY.YYY") function print_and_log() { echo "$1" ...
1
vote
2answers
177 views

Ping a host, check if alive or not, and send result to file via a shell script

To clean out my custom hosts file and remove dead domains on Windows I ping the hosts from domains.txt, and if I get a reply I add that host to result.txt: @echo off >result.txt ( for /f %%i ...
4
votes
2answers
115 views

Did this tutorial block pings to my server?

I am a programmer teaching myself linux admin stuff. I followed this tutorial to setup a firewall on a VPS. As a part of that tutorial, I block all traffic except for web traffic and SSH traffic. I ...
2
votes
2answers
663 views

How can you get ping to print human readable timestamps?

Ping can print you a timestamp on every line but its in unix date format :( ping -D localhost PING localhost.localdomain (127.0.0.1) 56(84) bytes of data. [1415629479.482938] 64 bytes from ...
1
vote
0answers
33 views

Prioritize virtual machine bandwidth

I installed a Windows Server 2012 virtual machine (VM Ware Workstation) on my Debian server that I rented (to which I have SSH access only, and which is in another city with over 1 GB bandwidth) to ...
0
votes
2answers
149 views

How can I filter ping results by time?

How do I filter out any pings that are under a certain ms, ie, only echo ping responses above 500ms to the text file? IP=$1 SECONDS_Between_Pings=$2 ping -i $2 $1 | while read pong; do echo $(date) ...
2
votes
2answers
423 views

Running an infinite loop on startup

I'd like to run a command at startup which pings a certain address every 10 minutes and writes the result to a file. I've figured out now how to do the pinging and file writing and the 10 min ...
5
votes
1answer
927 views

Shell command/script to see if a host is alive?

I'm trying to figure out more ways to see if a given host is up, solely using shell commands (primarily bash). Ideally, it would be able to work with both hostnames and IP addresses. Right now the ...
0
votes
2answers
337 views

Display hostname in ping output

When I ping my Linux server (running in a VM on my Windows7 host) with the following command: ping -a 192.168.56.*** I get the results shown below. Why isn't it resolving my server's name? ...
0
votes
2answers
134 views

Can't browse Internet in Redhat 7

I installed RHEL 7 using server with GUI with no added option on my local virtualbox, but I cannot get Firefox connected to the Internet. I checked /etc/resolv.conf contains nameserver setting I ...
6
votes
2answers
659 views

Why is ping much faster when using -f

I'm pinging the same host from the same machine at the same time. And when using -f, the result is almost twice as good: [root@localhost Desktop]# ping 196.1.6.16 PING 196.1.6.16 (196.1.6.16) 56(84) ...
0
votes
3answers
3k views

Bash ping script file for checking host availability

I am trying to write a bash script in a file that would, when run start pinging a host until it becomes available, when the host becomes reachable it runs a command and stops executing, i tried ...
20
votes
3answers
64k views
3
votes
3answers
3k views

Problem pinging from a specific interface

I'm trying to ping from a specific interface, I have a wired and a wireless connection both going into my laptop. My wired adaptor eth0 is on the IP 172.16.109.75 My wifi adaptor wlan0 is on the IP ...
0
votes
2answers
15k views

How do I access files on an external hard drive? [closed]

edited 02-25: I thank @Anthon for his replies. I still do not, however, understand the meaning or the how of "pinging" ("Once you update your Q, ping the commenters..."). I also do not understand the ...
3
votes
2answers
745 views

Why am I getting DUP! reply when using ping -A

We have 2 VM's running on ESX 5.1. When I do a ping -A, after a while I get every second ping as a DUP!. When doing a normal ping, I get 5 or 6 DUP!s, and then it returns to normal. Any ideas what to ...
0
votes
1answer
78 views

Force ping to write before interrupt

I am trying to get ping to continuously write some times to a file. When I run $ ping 10 10.1.10.28 | perl -ne '/time=(\d+\.\d+)/ && print "$1\n"' It returns one number every several ...
6
votes
1answer
2k views

Check ping statistics without stopping

Is there a way to tell ping to show its usual termination statistics without stopping the execution? For instance, I'd like to quickly view: --- 8.8.8.8 ping statistics --- 2410 packets transmitted, ...
2
votes
2answers
994 views

Quickly check whether many network hosts are up-and-running

Objective: check if a host is up-and-running on the network, with a method that can be efficiently parallelized over many hosts. Emphasis on a QUICK turnaround of the check. Reason to emphasise ...
0
votes
1answer
202 views

Received DUP when using ping. What should I do?

I was pinging Google last night and one of them came back as DUP(!). I did some reading and I found this in the man pages on ping(8): Damaged packets are obviously serious cause for alarm and ...
2
votes
1answer
3k views

recvmsg returns 'EAGAIN (Resource temporarily unavailable)'

After a recent server move, we are troubleshooting this wierd issue of one of the server losing n/w connectivity for no apparent reason and regaining the connectivity in a few seconds or minutes. ...
1
vote
0answers
54 views

Which Privileges Should Assign For Create Raw Sockets

I want to run an ICMP command to ping an IP Adress at Java: InetAddress.getByAddress("XXX.XXX.XXX.XXX".getBytes()).isReachable(1000); However there is a security restriction that: Normal users are ...
2
votes
1answer
521 views

I can ping internal to outside but not from outside to internal (Static IP)?

I have a static IP provided by the administrator of my Linux CentOS 6.5. The problem is that while I can ping this machine, connect to it and use it to access the internet from within my network, I ...
1
vote
0answers
169 views

openconnect - I can ping a website but can't wget or access by browser

I need to access the VPN of my university. On their website they provide the following solution: install openconnect install vpnc login to vpn via: # openconnect --script /etc/vpnc/vpnc-script ...
0
votes
1answer
317 views

Unix shell script for server alerts

Below is my shell script which is written in another x to find the health of server y. ( I have not written in server y because there is no functionality of getting mails) #!/bin/bash ...
6
votes
2answers
225 views

Is there an ICMP echo request service?

Often, in applications that I develop, I like to include a network status indicator for various devices on the network. The easiest way to monitor these devices is by pinging them. But ICMP echoes are ...
1
vote
1answer
175 views

IP access okay but ping doesn't work

I have a laptop connected to a Wi-Fi, and let's say I am testing the connection to a website ("randomwebsite.com", IP:123.123.123.123) Through a terminal I have tested ping: ...
1
vote
1answer
315 views

Why can I ping google.com but not www.google.com [closed]

I can $ping google.com and get data back PING google.com (74.125.227.96): 56 data bytes 64 bytes from 74.125.227.96: icmp_seq=0 ttl=56 time=26.939 ms 64 bytes from 74.125.227.96: icmp_seq=1 ttl=56 ...