Questions tagged [ping]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
30 views

Why does ping not through Interface address but works through Interface name?

I have some ppp interfaces, but none of them can be used using the interface address, only when using the interface name: Via Inet name: ping -I 368 myhost.com PING myhost.com (34.226.174.41) from 10....
0
votes
0answers
15 views

mDNS instead of IP in /etc/hosts?

I have a laptop that I want to communicate with from my other PC. Sometimes I need to connect with this laptop for various tasks (ssh, scp, ping, to reach some locally hosted website, etc. - dev stuff ...
0
votes
2answers
52 views

Problem with device: Can ping, cannot tftp put [closed]

I have a custom device with network. On the device I have tftp server. The device is connected directly to my pc by an ethernet cable. I know how the tftp server works - I have successfully tested it ...
1
vote
2answers
28 views

Receiving ping packets despite blocking incoming ping packets

I used this command iptables -A INPUT -p icmp --icmp-type echo-request -j DROP to block the ping packets my computer receives, however the ping google.com command still starts getting ping packages ...
0
votes
1answer
22 views

Respond and send ICMP only to certain user's mac address

I need to block ICMP requests for all user's except the groupt that is supposed to manage the VM. Since we access the VM via VPN we have a different IP every time we send a ping to the VM, can I only ...
0
votes
0answers
35 views

Ping same server with different interfaces using different ports

In my SoC imx6 I have two 4G modems using two different operators. I would like to give a score to each one so I can detect the best interface for my critical application. I decide to use a small ...
0
votes
0answers
11 views

nmap ping scan does not detect a system where as ping command does

I have a linux system installed (ip address 192.168.1.60) in VirtualBox in windows computer with bridge networking. IP of my windows computer is 192.168.1.20 pinging to linux system from my windows ...
0
votes
1answer
16 views

Why does the `ping -W` flag not timeout if the connection is down?

On Debian Buster, judging by the description of the -W flag to ping, I assumed that I could use something like: ping -i 10 -W 5 8.8.8.8 to continuously monitor an Internet connection. If the ...
1
vote
0answers
69 views

ping: sendmsg: No buffer space available

I am running a ping from one of the terminals: ping www.google.com This runs without any issues indefinitely. Now on another terminal, I run: for i in {1..5}; do speedtest; done Now after sometime on ...
1
vote
0answers
49 views

Cannot ping or access webserver

I have a kali chroot running on my phone which has a custom kernel that includes external usb wifi adapter drivers. Inside the chroot, I'm using hostapd to create an AP and isc-dhcp-server for DHCP. I'...
14
votes
2answers
3k views

Why is there output of ping after it has been terminated?

When a process breaks, as I know no output will be return anymore. But always after breaking ping command we have the statistics of the execution, and as I know it's part of the output. amirreza@time:~...
1
vote
2answers
39 views

telnet & ping - different results

I'm trying to debug a private connection between to CentOS servers I'm trying to connect to MySQL from server 1 ( Web ) to server 2 ( MySQL ) On both I've setup the network devices with firewalld - ...
1
vote
1answer
28 views

Establishing a connection between a fedora machine and a distant server takes more than 10 seconds!

I've recently started dual booting Windows with Fedora, while working with Windows loading a web-page is fast (less than 3 seconds) so it's not a bandwidth problem while with fedora this will take ...
0
votes
0answers
27 views

Yocto pinging problem

I've built and installed yocto (5.4.44-05635-gb810a419a2fa-dirty) on my Arria 10 board. I checked for an IP assignment: $ ip address eth0: <BROADCAST,MULTICAST,UP,LOWER_UP8000> mtu 1500 qdisc ...
0
votes
1answer
243 views

Arch Linux install: wlan0 is up but not connecting to Wi-Fi

I'm trying to install Arch Linux on a Lenovo Harman/Kardon IdeaCentre, and I can't start a working internet connection. $ ping archlinux.org ping: archlinux.org: Name or service not known $ ping 8.8.8....
0
votes
1answer
70 views

intermittent mDNS resolution

I have a Raspberry Pi configured with mDNS that is connected to my home LAN (WiFi). I can ssh into it using sshpass -p raspberry ssh pi@raspberrypi.local only some times. The problem seems ...
0
votes
0answers
9 views

Ping interval inflation with normal latency

While debugging a network problem between home (FTTC) and office, I discovered that a ping from office to home (the DSL router at home, in fact) exhibited a strange behaviour. While the measured ...
0
votes
1answer
39 views

Why pings are not working in my wireless interface?

I am integrating a wifi module in a Yocto image I want to create an AP with it and forward the traffic from such interface but the connection is not working. I am able to see the interface running ...
0
votes
1answer
42 views

How does one modify the ping command

I am somewhat new to kernel programming but am trying to modify the functionality of the ping command in Linux. I am using Ubuntu, which I believe uses iputils to create the binary ping command ...
0
votes
1answer
27 views

how to build lightweight continous connection monitoring using ping?

I want to build a connection monitor script using ping that sends off, let's say 10 pings every so often(~once an hour) 24/7 and record the output to a file for later analysis. So far, I've got the ...
0
votes
0answers
19 views

Smokeping/Cacti ping probes when ICMP is disabled

I have installed smokeping and I want to use it to draw an RTT graph to a couple of servers. The problem is that some of those servers have their ICMP disabled. I have found another ping tool which is ...
1
vote
1answer
39 views

Cannot ping second IP address on another machine's interface

I have an OpenVPN client connected to an OpenVPN server. The server has the following routes: default via 10.109.185.65 dev eth0 proto dhcp src 10.109.185.84 metric 100 10.8.0.0/24 dev tun0 proto ...
-1
votes
1answer
45 views

Destination Host Unreachable

I am using Linux laptop and try to ping a Win10 laptop. I ping myself (Linux system) and google.com, both works, which means the IP connection to router and DNS have no problem. But I still got '...
1
vote
0answers
26 views

Linux can only connect to AP with static IP, has no Internet connectivity (not a router issue)

A Linux laptop can only connect to its AP with a static IP. Once connected it can’t ping any local or external IP. The router has no issue with any other device. I have tried restarting DHCP, ...
0
votes
0answers
48 views

Cannot ping directly connected computers

I want to at first apologize for how simple my question is. I am extremely new to networking and extremely new to Linux, so I am sorry if this question is elementary. I am currently troublshooting ...
0
votes
1answer
28 views

ip is assigned, local netowrk works but the external network is unreachable

I am using mint18.3 on my system which is based on ubuntu 16.04. The system is connected to the internet via an ethernet cable. The cable is attached and works but the connection is detected 1 month ...
0
votes
1answer
23 views

Cannot open new SSH connections after a certain amount of time

I have a web server running Alpine linux and OpenSSH. When I power on the server, for about an hour or two I am able to open SSH connections and send commands fine. However, after that, even though ...
2
votes
1answer
322 views

fping from zabbix agent - permission denied

I know there are several topics about fping and zabbix, but I've read through them all and I am still having trouble getting something that should be pretty simple working. I am trying to do a simple ...
0
votes
1answer
619 views

What's the difference between 'chmod g+s' and 'chmod +s'

My user is already in 'wheel' group of CentOS and the 'ping' command doesn't work: ping: socket: Operation not permitted A guide here about using 'chmod +s' for 'ping': https://github.com/MichaIng/...
1
vote
2answers
66 views

Server does not respond to ping - ICMP is received and nothing happens

I have a server with 2 interfaces connected with dhcp to two different subnets. These 2 different subnets are connected to the same switch into 2 different interfaces. # ip a 1: lo: <LOOPBACK,UP,...
0
votes
2answers
70 views

Wrong DNS answer when using ping from iputils-s20180629 and the shortest DNS name (with a 'A' record): dk

I wonder why ping fails to retrieve the ipv4 of dk TLD on my Debian 10. It's a valid domain name, the shortest I ever know on earth via dns (with a A record). Good to test network connection. When I ...
0
votes
0answers
17 views

Enabling ping between networks in a VirtualBox NAT network

How can I enable server A to ping server B and vice versa? I'd rather not have a static route to a single server. I'd rather be able to ping everything on the 192.168.56.X network in VirtualBox. I ...
0
votes
3answers
53 views

Displaying time and date next to part of the ping output

#!/bin/bash ping -c 1 8.8.8.8 | awk '{print $7}' date So for the code above, I want it to display the date and time in this format below Tue May 5 11:11:11 UTC 2020 time=0.838 ms So far it prints ...
0
votes
2answers
88 views

Using cut command to display ping time [duplicate]

64 bytes from 8.8.8.8: icmp_seq=1 ttl=52 time=1.04 ms Above I have a ping for my IP address how can I use the cut command or any other command to display only the time in ms like this time=1.04 ms
3
votes
1answer
35 views

Ping time is less than an individual ping

As per the answer to ping statistics time meaning The time statistic is the total time spent sending and receiving echo packets, including the delay between each packet However, my time result is ...
1
vote
2answers
114 views

How to create peer to peer Ipv6 network using link local addresses?

Can i create a peer to peer network using Ipv6 link local address scope? I should be able to ping from System A to System B's Link local (fe80 address space) and vice versa. In other words I want to ...
0
votes
1answer
67 views

How to multi thread a function in bash?

I have written a bash script for ping sweep, but for hosts which are down it's taking more time, so I tried to multi-thread the get_ip function, by using & at the end. However that doesn't seem to ...
0
votes
0answers
25 views

arptables and arping

I wanted to use arptables on my OpenWRT router to filter ARP packets, and I was doing some tests. I only accepted ARP packets from a specific host,172.22.36.129 (let's say A), and blocked all others ...
1
vote
1answer
32 views

Why can't two virtual machines ping each other through the third one?

I'm creating a local network of three virtual machines (all Ubuntu 14.04, just from the box). The first one is connected to the third and the second is connected to the third as well. That's it: ...
0
votes
0answers
19 views

Unable to Run Bird Routing Program

I am running a Python script on mininet and when I ping on it, it gives me an error: PING 2001:638:709:b4::1(2001:638:709:b4::1) 56 data bytes From 2001:638:709:b1::e1 icmp_seq=1 Destination ...
0
votes
0answers
26 views

How to delete old networking alias with wrong IPv6

I try to ping to my server. Normally I can just go ping foo with foo being the name of the server on the network. I connected the server for a short time via wifi which gave me a second IPv6 for it. ...
0
votes
1answer
38 views

How is it possible to ping a hostname which is not configured in host file?

I'm managing an on-prem Gnu/Linux cluster which performs as an API gateway. There are two servers in ESB cluster(Say ESB1 and ESB2). From ESB1 server, it is possible to ping to ESB2 server using the ...
0
votes
0answers
480 views

iptables: how to block traceroute and allow ping?

Hi first sorry for my english. I'm trying to block traceroute --icmp (tracert) while still permitting the ping, using iptables. The problem is that when I permit the traffic of echo request, to allow ...
0
votes
0answers
50 views

Is MTU path discovery repeated everytime we use tracepath?

If I run tracepath twice, the mtu value I get is same but is the path discovery being actually being done every time or is it so that the value is somehow cached/stored for each active host? if yes, ...
0
votes
0answers
32 views

Slow port scan?

Probably no big deal although I have questions. Background: My home wireless was being overrun with all the devices. Have 6 people on the net and each have multiple devices. Then the kids would have ...
0
votes
0answers
22 views

Pinging default gateway on a Linux virtual machine

I have two question about the network. I started to ping my router from my Linux virtual machine and I have intercepted these ICMP frames. I noticed that the destination MAC address is not my router ...
0
votes
1answer
35 views

Always trying to connect to wifi, but never connects, ping 8.8.8.8 results in “connect: network is unreachable”

I just bought a Raspberry Pi 4 which uses linux as its operating system. I was just trying to browse the internet using my phone hotspot when the connection suddenly drops, I can't access any other ...
0
votes
2answers
128 views

Filtering ping output through multiple pipes fails

Trying to capture only the packets return time from ping output, I issued $ ping 192.168.0.1 | grep -o '[^ =]* ms' and it worked, displaying each packet time when it arrived. Since I also wanted to ...
0
votes
1answer
187 views

Setup routing on Ubuntu machine to ping between vlans

I am using KSZ8895MQ micrel which is a L2 managed switch with VLAN configuration connected to micro controller. OS is Lubuntu with DHCP server configured. I am able to get the different VLAN on the ...
0
votes
1answer
52 views

Alternative to modifying /etc/hosts for dns lookup

I am a networking newb - ping cannot locate certain dns names, so I put them in /etc/hosts like this: 10.128.0.22 kafka.marathn.meso 10.128.0.31 elasticsearch.marathn.meso and then ping can find ...

1
2 3 4 5
8