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
-1
votes
1answer
29 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
24 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
34 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
24 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
20 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
0answers
46 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
68 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
35 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
61 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
16 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
37 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
31 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
29 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
38 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
40 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
17 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
26 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
18 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
24 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
37 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
165 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
33 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
31 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
23 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
75 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
85 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
39 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
vote
1answer
31 views

How to install owping tool?

I would like to install owping, however I am not able to configure and compile sources. I have installed autoconf. Instructions to install owping I have downloaded and unpacked sources of master ...
0
votes
1answer
43 views

Why doesn't `ping -c 1 -W 1800 somehost` succeed when host comes up?

I am trying to detect when a host has recovered from a reboot by executing: ping -c 1 -W 1800 myhost I was hoping that before 30 mins passes the host would successfully ping and in my script I could ...
0
votes
0answers
34 views

How To Use fping Command With Subnet Format Like 255.255.255.0 In Parrot?

I'm working on a script project to detect ARP spoofing. Firstly I need to find all my local area network neighbours. I'm using fping command to find them all. The command im using: fping -a -r 0 -g ...
0
votes
2answers
112 views

Different IP:hostName mappings for same host in `/etc/hosts`. Why does this work?

My scenario Relevant entries in my /etc/hosts (I have them written in the same order you see them here) 172.22.5.107 www.wordpress-rend-adri.com 192.168.1.116 www.wordpress-rend-adri.com I use ...
0
votes
2answers
68 views

how to catch response from server ping and sent alert

I have the below command I'm running: ping ldap.corp.XXXXX.com LDAP Server up: Pinging ldapeu.corp.XXXXX.com [XX.XXX.XXX.XX] with 32 bytes of data: Reply from XX.XXX.XXX.XX: bytes=32 time<1ms ...
0
votes
1answer
46 views

Can't ping all the loop back addresses

As we know, the range for loopback addresses is 127.0.0.0 – 127.255.255.255. On my Linux box, I am able to ping all the addresses like 127.0.0.1, 127.0.0.2, 127.0.0.254, etc. (i.e., all addresses from ...
0
votes
0answers
13 views

create a virtual interface - ghost ping

I'm trying to create a virtual interface. So I used this command : ip addr add 10.243.0.5/24 dev ens3:virt_int Here is the output of ip addr # ip addr list ens3 2: ens3: <BROADCAST,MULTICAST,...
1
vote
1answer
49 views

How can I find the source of a ping request within a device?

I have a linux-based cellular device that every 4-6 weeks begins pinging Google IP addresses 10-12x every minute. This increased pinging begins and ends seemingly randomly, lasts for a few days before ...
0
votes
2answers
140 views

Ping a hostname with Service name

I am unable to reach my database getting error message as "login timeout connecting to the database". I need to ping the Database server .Could you please tell how to ping server with service name ...
0
votes
0answers
10 views

Creating a VPN based on TAP devices - no response to i.e. `ping`

I am trying to build a L2 VPN with Go for GNU/Linux (source is on GitHub). It reads all ethernet frames from a TAP device and sends them over TCP to a destination, which in turn writes it to it's TAP ...
0
votes
0answers
482 views

Can't ping default gateway on ubuntu 18.0

I can't ping my default gateway on ubuntu 18.04. Below are the output of my settings: ifconfig enp12s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.30.149.90 netmask ...
1
vote
2answers
435 views

Destination Host Unreachable after switching to static ip

I recently switched to a static IP, and the first time I restarted my computer, I lost my internet connection. Help! More details (For the record, I'm on Debian 10.) I can ping localhost, but not my ...
1
vote
0answers
95 views

IPv6: Why ping to another IPv6 host doesn't work when loopback interface is DOWN

While it is said the only job of lo interface is to test its own connectivity, why doesn't pinging another IPv6 host work when the lo interface is made DOWN. Network configuration: host1(eth0) - ...
1
vote
1answer
64 views

Why didn't iptables reject the ping?

I am an iptables newbie. While I had tried to learn as much as I can over the past few days, this problem beats me! First of all, the environment is a VMWare (CentOS7) running on a Fedora 30 host. In ...
0
votes
1answer
37 views

View packet data of ping

Is there a flag or other utility (perhaps tcpdump?) that can be used to see the outgoing packets that are sent via the ping utility? For example: $ ping -c 5 google.com PING google.com (172.217.14.78)...
0
votes
1answer
127 views

Why is ping slow on domain solving?

Why this big difference in times if the domain name is resolved by ping itself, versus getent externally? $ time ping -c1 "google.com"" 0% packet loss 0m5,064s $ time (ip=$(getent ahostsv4 "google....
0
votes
0answers
15 views

Strange ping latency

We have a complex real time application running RHEL 7.4 on ESX as a virtual machine. The VM is hosted on a large NAS-storage. Currently we have repeated latency bursts also evidenced in a running ...
0
votes
1answer
34 views

Is there a way to sort IPs by latency?

Given a list of IPs, how can it be sorted so that the "nearest" or lowest latency is sorted to the top, "farthest" or longest latency, is at the end?
0
votes
0answers
56 views

Ping command data size in Linux and Windows

Why the ping command default data size on Linux is 56 bytes and Windows is only 32?
1
vote
1answer
302 views

Linux Bridge (brctl) not passing the traffic

I created the below config: /* Created a Linux bridge and brought it up */ brctl addbr AnaBr4 ifconfig AnaBr4 up /* Created a tuntap interface and brought it up */ ip tuntap add name Xr1 mode tap ...
1
vote
3answers
1k views

Need Improvement on Script Which Continuously Tests Website

Need improvement on a script which continuously tests website. It's currently been used the following script, but it is giving a large amount of failing emails, while website is still up: #!/bin/...
-6
votes
2answers
49 views

How to make website working in kali linux? [closed]

I have given the name of adapter Realtek PCIe GbE Family Controller but whenever I ping it with ip address it works but giving website, it gives me message ping: google.com: Name or service not known. ...

1
2 3 4 5
8