Questions tagged [ping]

Ping is a computer network administration utility used to test the reachability of a host on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer.

Ping is a computer network administration utility used to test the reachability of a host on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer. The ping utility uses the network protocol, which is often filtered by firewalls, so its usefulness is usually limited in corporate environments.

Examples

ping -n 5 www.example.com #pings 5 times the server named www.example.com

A domain name or IP address can be used.

See also

References

2853 questions
0
votes
0 answers

Ping the network quickly

good day! Tell me how you can quickly ping the entire network? There is the following code that scans the network. Public Sub Scan(ByVal subnet As String) Dim myPing As Ping Dim reply As PingReply Dim addr As IPAddress …
Lider13
  • 47
  • 7
0
votes
1 answer

Ping can't go across router connecting 2 LANs [Packet Tracer]

Topology of the network The subnetworks work fine within themselves and pings reach their destinations but pings can't go through the router and reach the other LAN. I can ping the interface of the router that is on the same side of the origin of…
0
votes
2 answers

Debian Buster - Cannot ping host from other machines except windows?

I've got a Debian 10 system that just...doesn't seem to want to be reached. The system itself (named Hestia in my scenario) is a VM host (proxmox). It can ping every other system, including it's own guest VMs, and itself just fine: root@Hestia:~#…
The Kaese
  • 419
  • 5
  • 15
0
votes
1 answer

VBscript to ping a list of computers

I'm using this VBscript code to ping a list of computers in a notepad and store the ping results in a csv file. All computers stored in a notepad file are now availables (cmd >>> ping servername), but the results in csv file are all DOWN. I have…
0
votes
1 answer

Reciprocal ping: "Request timed out" and "Destination host unreachable"

I use a VPN to connect to the internal network of my university. There is an Ubuntu machine in the university that is used for computational purposes. When I connect to the VPN I can ping every machine except the desired machine. By pining the…
m.taheri
  • 309
  • 3
  • 21
0
votes
0 answers

How to get internet connection latency/ping?

I need to get the current internet connection latency in ms. After doing a research in Stack Overflow, I found this code to get the latency: String host = "www.google.com"; int timeout = 10000; long beforeTime =…
NullPointerException
  • 36,107
  • 79
  • 222
  • 382
0
votes
1 answer

Power Management Batch File to shutdown pc when another pc shuts down/hibernates/looses connectivity

this is my first post here so please excuse me for getting anything wrong. I have a few computers that run Octane renderer. One is the "Master" and the others are "Slaves". When the Master is unreachable the Slaves can't render so I'd like to save…
0
votes
2 answers

Windows cmd/Powershell, ping every second even during timing out

I have the following PS code for logging the ping every second: ping -t google.com | Foreach{"{0} - {1}" -f (Get-Date),$_} >> filename.txt It indeed logs every second, that is, if the ping is 140ms, the next ping request is in 860ms, as I seemingly…
Rolf
  • 331
  • 4
  • 13
0
votes
1 answer

Pinging nodes in Network

I have a network consisting nodes(computers, with ubuntu) with 1 node as root. I am building a fault management system for it, for which, lets say root sends IP address of a node A to node B(through sockets). Now node B has to ping node A…
Vishal
  • 989
  • 2
  • 11
  • 19
0
votes
1 answer

how to ping a certain ip in a c++ program

Usually I just use the system("ping 8.8.8.8"); command, but I am trying to store information in a variable (IP) and then ping that IP using system in a c++ program. This seems very easy, but when I tried to execute the code, it tells me there are…
wetpp
  • 21
  • 2
0
votes
0 answers

Batch Script for Ping Monitoring with Change Color Based on Result?

I am not very good at programming but searching and modifying I am not trying to find a way to make a Batch Script in CMD to execute an infinite Ping that gives as a result in 3 colors according to a High, medium or low ping. .- For a High Ping more…
0
votes
1 answer

Networking/international hosted pings and traceroutes

I am working on a project involving correlations in distance of the server in relation to pings and traceroutes. So I am getting the number of hops and the average ping time for different web sites. I am using puTTy and unix code to achieve this,…
0
votes
1 answer

ICMP "Echo Reply". How to validate in aws?

I have added the inbound rule for ICMP Echo Reply in my security group. But, I want to visualize the effect of adding and removing this rule from Security Group on my ec2 instance. How can I see that thing making any impact? I initially added both…
Jaraws
  • 581
  • 1
  • 7
  • 24
0
votes
1 answer

Why is there a discrepancy between python sockets and tcp ping for the same IP:port destination?

My setup: I am using an IP and port provided by portmap.io to allow me to perform port forwarding. I have OpenVPN installed (as required by portmap.io), and I run a ready-made config file when I want to operate my project. My main effort involves…
0
votes
3 answers

Trying to make a ping .sh script to see if a web is alive by passing a listweb.txt

So i am trying to ping some URL in a list.txt and see if is valid or not code here: url_list=./listawebmin.txt contador=0 contadorerror=0 contadorsuccess=0 while read siteurl do echo "Se va a realizar ping a $siteurl" if ping -c3…
aggarcia
  • 5
  • 6
1 2 3
99
100