Questions tagged [ping]
A tool commonly used to test the reachability of a given host, either on the internet or in a local network.
499 questions
2 votes
6 answers
808 views
Detect if any ping succeeds
I am trying to ping several IP addresses / hostnames, and determine whether any of them respond. Starting from this question, I'm using the echo host1 host2 host3 | xargs -n1 -P0 ping -c1 -w2 approach....
2 votes
1 answer
173 views
Ping not outputting all Transmitted Packets
I am trying to log ping results and graph/analyze the results over an extended duration. I have been using: ping <address> -D -O -i 0.1 > output.txt When analyzing the output log I noticed ...
13 votes
2 answers
2k views
Stop periodic WiFi scanning when already connected to a WiFi network
I have Debian 13 installed with KDE plasma desktop. I noticed that my WiFi latency regularly gets higher for a few seconds, then returns to normal. After some investigation using ping and iw event, I ...
1 vote
0 answers
95 views
unable to access internet from exported vm machine either on nat or bridged [closed]
Problem: I’m unable to access the internet in my Red Hat 9.5 Enterprise VM, despite the VM having an IP address and being configured in VMware Workstation with NAT mode. The VM's network interface is ...
0 votes
1 answer
98 views
How to get router to respond to ARP requests from switch so i can manage it
I have a web managed switch on my network. It is connected to a router, along with the host PC i am on. I cannot ping it through the router. Router is Fedora server. the router's applicable interfaces ...
1 vote
1 answer
283 views
OpenVPN in Debian 12 does not ping to server
I have been a linux user for some years although I'm very new to the networking aspects. This is the first time I will use OpenVPN and I have been strugling to make it work for a few days. I need to ...
4 votes
2 answers
7k views
Confused about the message "No route to host" when blocked by firewalld
Debugging a software problem, I detected a state where the attempt to make a TCP connection resulted in a "No route to host" error message. This was especially confusing as ping had no such ...
1 vote
0 answers
70 views
fping gets return packet when run from terminal, a script, but not when the script is called by transmission-daemon
I'm using the following .. fping -c1 computer I get 0% packet loss when I run it manually from the terminal. I get 0% packet loss when I run it from a script, ~/scripts/torrent.done.script. But I get ...
0 votes
1 answer
504 views
Debian 12: ping works but dig/curl don't
Sorry if I post something solved on other thread, but I think I am not. I have read several similar issues but to no avail so far. Basically my connection worked perfectly since I installed from ...
0 votes
0 answers
102 views
unable to ping after stopping and restarting eth0
I did sudo ip link set eth0 down and then sudo ip link set eth0 up and where ping google.com worked before, doing it after yields this error: ping: connect: Network is unreachable Here's what ip link ...
0 votes
0 answers
72 views
Can't ping my host from a CentOS linux server although I can ssh to the linux server
After creating a CentOS server using Hyper-V on my Windows 10 host. I set up an internal switch to allow communication between the host and the VM. The problem is that I can't ping the host from the ...
0 votes
0 answers
329 views
Ping setting source address differences between IPv4 and IPv6
I was testing something and stumbled on this weird oddity: Ping using IPv4 and setting the source address to '127.0.0.1' (works): # ping -I 127.0.0.1 192.168.1.1 PING 192.168.1.1 (192.168.1.1) from ...
1 vote
1 answer
546 views
Connecting two network namespaces over a bridge
I'm trying to make one network namespace to be able to ping another namespace via a bridge. Here are the commands I'm executing: # create two namespaces ip netns add ns0 ip netns add ns1 # create a ...
0 votes
0 answers
175 views
Server not responding to ICMP requests
I have 4 servers running on rocky linux at a datacenter in Chicago but one is not answering to ping requests. I have been checking for solutions for day but so far things look good, what I am missing? ...
0 votes
1 answer
957 views
Unable to SSH into remote machine but able to ping - VPNC
I'm writing and posting the solution that I found with a recent issue regarding VScode remote server, ssh and VPNC. Yep, I lost to much time on it, hope to save your time. Issue I had to change VPN ...