As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [icmp]

ICMP stands for Internet Control Message Protocol. It is primarily used by the operating systems of networked computers to send error messages indicating service status.

Filter by
Sorted by
Tagged with
0 votes
1 answer
70 views

Laptop replies to ping in sleep mode

Recently I got new company laptop with Windows 11 and noticed weird behaviour. When the computer is in sleep mode (screen blank, power led slowly fades in and out) the laptop still replies to network ...
Tomasz Grobelny's user avatar
0 votes
1 answer
148 views

Which inbound/outbound rules are necessary for stable IPv6 connectivity in Windows 10/11?

I'm experiencing an issue with Windows 10 where IPv6 connectivity becomes unstable over time. Initially, IPv6 works as expected, but after a while, it stops working. Upon investigation, I've ...
obeN's user avatar
  • 101
0 votes
1 answer
66 views

Why pinging device under VPN succeeds?

There are two devices connected to the same LAN network: A with IP 192.168.1.1, B with IP 192.168.1.0. I connected B through VPN (WireGuard if that matters) exposed externally (B on server - BS - ...
Jon's user avatar
  • 3
7 votes
1 answer
1k views

ICMP packet with TCP?

For some time now I have found myself interested in packet analyzing and I try to figure out all kinds of stuff that I see in network captures. I hope you guys might want to help me find out this one. ...
Deluccio's user avatar
1 vote
0 answers
131 views

Windows - sharing connection to WinTun interface - ping fails with protocol unreachable

I'm trying to access the network from the Windows app which creates TUN interface connection. Windows 10 Home Edition. TUN interface created with https://www.wintun.net/ project example code. When ...
Michał Jaroń's user avatar
1 vote
0 answers
20 views

How do ping packets get to the ping utility in a NATed network? [duplicate]

I did this test from two PCs at home that are connected to a typical SOHO router, so the router is doing Network Address Translation. I pinged successfully an IP address from the two computers: ping 8....
Antonio23249's user avatar
0 votes
0 answers
130 views

Shadowsocks doesn't work.ICMP is working but TCP does not

I installed Shadowsocks on a Google cloud server (Debian 5.10.149-2) and ShadowsocksX-NG on Mac. But it doesn't change my IP address. If I chose Global mode, no website couldn't be accessed. What I ...
Enjoy's user avatar
  • 1
1 vote
1 answer
67 views

windows built-in ping response strangeness

Have cheep noname "managed" websmart switch, generic china. It have default IP 192.168.1.199 When ping it on LAN with my favorit ping program https://github.com/dexit/fping-windows (using it ...
user2956477's user avatar
0 votes
0 answers
122 views

ICMP 3 / 3 if a port is unreachable

When I want to connect to a non-opened port of my Linux-PC from my Windows PC my IP-stack runs into a timeout after some seconds. So what's happening here ? Does my Windows PC not evaluate any ICMP ...
Bonita Montero's user avatar
1 vote
0 answers
96 views

How do you display timeouts when using ping6 on macOS?

When using ping6 (IPv6 version of ping), on macOS, I don't visually see the request timeouts when they occur. The ping responses just pause for each request that times out. A super observant eye will ...
Marcel Wilson's user avatar
0 votes
0 answers
100 views

Devices on Network Intermittently Unable to Ping Each Other

I'm trying to connect to an NVIDIA Jetson AGX Orin DevKit (Ubuntu 20.04) over my local network. I believe that I've set up the SSH server correctly because sometimes I'm able to connect to it. However,...
Nicholas Carpenedo's user avatar
0 votes
1 answer
100 views

Are infinite icmp requests to a server a good way to monitor connectivity?

I have a self-hosted vps server, and I want to always see its status in the system tray of my home machine(if it is reachable or not). For that purpose I wrote a simple bash script that looks like ...
Alexey104's user avatar
  • 103
1 vote
0 answers
346 views

How to stop the sending of ICMP timestamps replies and requests?

Woo, progress! Updated below! I've been all over the internet looking for an answer to this one. I am using a Raspberry Pi running Raspbian Debian 11. The problem seems rather simple, just blocking ...
SuperDialga's user avatar
0 votes
0 answers
225 views

Why I am getting huge different results between ping and mtr?

I have some issues to get stable ping response from any public IPs with Linux/Mac Under Windows OS, the ping response is stable +/- 1ms roughly; however under Linux/Mac, the ping response could have a ...
TiisCool's user avatar
0 votes
1 answer
460 views

Correct flag to use instead of --icmp-type?

I am trying to set up iptables v1.8.7 on a Debian 11 Raspberry Pi to block ICMP timestamp requests and replies. The tutorial I am following and all the other forums I have looked at say to use the ...
SuperDialga's user avatar
4 votes
1 answer
10k views

how to test ntp servers as real servers that responding without using ping test

we have bash script that configured the chrony.conf script check if ping is ok on ntp1 and ntp2 ( ntp servers ) and then script insert the ntp servers to /etc/chrony.conf ( only if ping success ) ...
King David's user avatar
0 votes
1 answer
725 views

How is ARP reply generated from Windows 10? Sending ARP req from embedded device through ethernet port to windows10 on laptop

I want to send an ARP request using my embedded device through the ethernet cable to my laptop that has windows 10 on it. I want to receive an ARP reply from windows back to my embedded device through ...
AZ123's user avatar
  • 5
3 votes
2 answers
1k views

Detect ICMP requests on a Windows 10 System

I'm looking for a way to detect ICMP requests (e.g. ping) on a Windows 10 System. Unfortunately it does not work with netstat, since ICMP doesn't depend on a port hence all other light weight tools ...
Albin's user avatar
  • 9,089
0 votes
1 answer
615 views

DHCP Discover : why don't other hosts reply with ICMP 'port unreachable'

When a host sends a DHCP Discover (port 67, UDP), why don't all the hosts (except the DHCP server) reply with an ICMP 'port unreachable' message. This would cause a huge amount of useless data going ...
cmdEvo's user avatar
  • 3
1 vote
2 answers
734 views

Spectrum Router not allowing ICMP Echo Requests

I am currently trying to set up a server off of my Windows 10 PC, after lots of troubleshooting I have concluded that my router is blocking ICMP Echo requests (AKA Ping) from reaching my computer. ...
Cameron Bell's user avatar
0 votes
2 answers
244 views

Does ICMP use any processes from above layer 3?

I'm doing a project and have to describe the process of a ping from layer 7 to 1. Ping uses ICMP which is layer 3, so the data sits at under a layer 3 header. Does this mean any layers above that just ...
Wolfgang's user avatar
0 votes
1 answer
45 views

Why are packets taking 64 hops to connect from my laptop to my laptop?

So, I'm pinging my laptop (from my laptop) expecting the TLL in the reports to be 128 (Because I'm on Windows 10), but I get this instead: Pinging [REDACTED] with 32 bytes of data: Reply from [...
Crabby Fish's user avatar
1 vote
1 answer
66 views

Do Linux (4.15.0-130) and Windows (10) treat ICMP differently?

While attempting to troubleshoot a Windows 10 machine with erratic network problems, I did a traceroute to a host and got somewhat different results from what I see on my Ubuntu 18.04 system with ...
Frank van Wensveen's user avatar
0 votes
1 answer
706 views

Traceroute/tracert fails to receive hops return information

I noticed that with some routers/gateways when I issue a traceroute or a tracert in a 'inner' computer the hops always fail with: request timed out can anybody clarify this? what information goes ...
ZEE's user avatar
  • 908
1 vote
1 answer
1k views

Windows ping to Any IP including 127.0.0.1 hangs, but internet works

I have weird behavior on my Windows 10 operating system. Any ping/tracert command hangs and nothing happens. I have never seen something like this before, and all i have found in the google aren't my ...
Sergey Vaulin's user avatar
1 vote
0 answers
346 views

ICMP DUP! packets (but only sometimes)

I have LibreNMS monitoring devices on my home network and it is logging duplicate ICMP packets on my network. Of the 30+ nodes being monitored, a few (3-4) exhibit this behavior. I can reproduce it ...
user13700422's user avatar
2 votes
1 answer
323 views

ICMPv6 not reachable under Windows 10 while under Linux it is fine, why, how to fix?

I have just upgraded my ISP and it is finally IPv6-capable. Last year I had an ISP not capable, so... The only thing which does not seem to work under Windows only, is ICMPv6. Since it's an online ...
Vlastimil Burián's user avatar
0 votes
0 answers
37 views

Why does the ping programs print so slowly?

I have a raspberry pi as my gateway at 10.0.0.2 with some custom iptables rules for transparent proxy. My Netgear router is 10.0.0.1 with DHCP disabled. Internet access like browsing the web works ...
wlnirvana's user avatar
  • 103
0 votes
0 answers
26 views

Traceroute: destination IP-address returned for all but first hop. (Debian 9.11)

At some point in the past year, Traceroute behavior changed. Was working correctly prior. (Debian v9.11 Traceroute 1:2.1.0-2) Now, first traceroute result, my gateway, is correct, but all the ...
Shawn Hughes's user avatar
0 votes
0 answers
284 views

Why does Node.js's ICMP listen get two responses when I ping localhost?

I am currently using the ICMP NPM package for developing a custom contribution node for node-red. After a couple of days' testing and making sure everything is okay before publishing I stumbled upon ...
Nemanja's user avatar
0 votes
0 answers
226 views

Get the Destination address from the ICMP header of a ping response

I want to perform a ping request or other fake request and print the whole response from the command line. Practically I'd like to see the same information I can see with Wireshark so that I can ...
b1zzu's user avatar
  • 101
0 votes
0 answers
203 views

Can't ping anything on local network - general failure

When trying to ping another device within the local network (in same domain) it gives: General Failure. Sent = 4, Received = 0, Lost = 4 (100% loss). Huawei Matebook X Pro with latest version of ...
Marco's user avatar
  • 1
1 vote
2 answers
212 views

Why can't I ping a computer in same network?

I have two computers on the same Wifi router. I want to ping the other one, it does not happen, I get a "destination host unreachable". Things I've already tried: I disabled the Firewall on both ...
Borut Flis's user avatar
2 votes
2 answers
4k views

Does Windows Firewall block ICMP Timestamp Request (Type 13) by default?

This question is specifically related to the ICMPv4 Timestamp Request (Type 13) message. When I have Windows Firewall disabled I can send a Timestamp Request from the host and the client will receive ...
VineAndBranches's user avatar
-2 votes
1 answer
80 views

Is really NMAP uses ping packets to consider Host discovery?

I run this command nmap -sn 192.168.0.2 for only Host discovery. And then I started wireshark to see what will going to happen. I thought It would send ICMP echo req, but the results was very ...
Utkarsh Agrawal's user avatar
1 vote
0 answers
424 views

No internet connection in cmd and msys2 when using USB Tethering and Wifi Hotspot on PdaNet+

I used my phone to connect laptop to the internet using PdaNet+. There are two options in PdaNet+ which are USB Tether and WiFi Direct Hotspot. I faced this problem for both the options. I can ...
Chek Wei Tan's user avatar
1 vote
0 answers
28 views

iptables - redirects to local network causes connectivity issues

I have 2 Debian routers and network set up like this: | | | Internet/Public IP | ---------- ROUTER A ---------- | | 10.97.0.1/16 | | 10.97.64.1/16 ...
user1022059's user avatar
2 votes
1 answer
4k views

Allow VRRP on firewall

Deploying an HA redundant solution we use Keepalived with VRRP traffic and a virtual IP. So far I enabled VRRP traffic with the following command (working): sudo firewall-cmd --zone=dmz --add-rich-...
gusto2's user avatar
  • 133
2 votes
3 answers
2k views

Win10 allow incoming ICMPv6 - firewall is behaving weirdly

I finally got it working but I'm a bit confused still. Has anyone an idea why this approach (netsh) doesn't work on win10? technet forum netsh advfirewall firewall add rule name="ICMP Allow incoming ...
Djfe's user avatar
  • 21
0 votes
1 answer
807 views

IPv6 ping only possible when target machine pings back

I have a typical "a can ping b but b cannot ping a" problem. I use IPv6 for the ping. What is special in my case is that "b" can ping "a" immediately after "b" pings "a". After some trials, I realised ...
Niko's user avatar
  • 111
1 vote
0 answers
1k views

Network Emulator Toolkit (NEWT) ICMP failing Windows 10

I am trying to use Microsoft's Network Emulator Toolkit to simulate poor network conditions, but it is failing to allow ICMP packets to pass through on Windows 10. I have tried disabling the firewall,...
MrTod's user avatar
  • 53
6 votes
1 answer
1k views

Why does the 2nd ARP request wait until the pings are over to show up?

This problem was presented to me by one of my professors because it only happened after switching from 100Mb cards to Gigabit NICs. The second arp request that comes from the computer being pinged (to ...
SkyParrillo's user avatar
2 votes
1 answer
227 views

Ping from VMware guest machine to the Ethernet interface of the Host machine

I want to ping from a VMware player guest machine to the Ethernet Interface of the host machine. The VMware guest machine has an adress in the VMWare Virtual Network:192.168.221.4 so I am able to ...
Mouin's user avatar
  • 123
1 vote
2 answers
2k views

Only allow pinging in one direction

How do I allow a ping from the first PC to a second one but block a ping from the second PC to the first one? I created this firewall rule on both Mikrotik routers: add action=accept chain=forward ...
Alex's user avatar
  • 33
3 votes
1 answer
2k views

How can Ping not use a transport protocol?

I just learned that Ping uses ICMP directly, i.e. it bypasses the transport layer. How is that possible? Shouldn't an application (L5) use UDP or TCP in the transport layer (L4)? The way I know it is ...
ToniAz's user avatar
  • 145
1 vote
0 answers
43 views

Spoofed Tunnel Route

What does it mean when tracert always shows a single long jump? The route below is always the same except the last hop goes directly to any destination IP address that I choose. And, how does the ...
bobuhito's user avatar
  • 447
0 votes
1 answer
1k views

Required ICMP types for IPSec tunnel?

I have IPSec tunnel set up between 2 routers. It used to work fine, however recently I hardened policy in IDS and I started getting alerts about ICMP type 11 code 1 being sent from one router to ...
Lapsio's user avatar
  • 730
3 votes
1 answer
6k views

Why is 32bytes the default ping size? Is it okay to use less?

I have a very large number of addresses I need to ping on a company network. I want to be as unobtrusive as possible. Would using ping 1.1.1.1 -l 1 reduce the strain on the network? Is the difference ...
Thomas's user avatar
  • 41
1 vote
1 answer
750 views

TCP application setting Don't Fragment (DF) Bit

I noticed that some TCP application is setting the DF (Don't Fragment) bit. My research seems to indicate that TCP wants to avoid fragmentation and instead want to adjust the segment size (MSS). ...
some user's user avatar
  • 2,335
1 vote
1 answer
2k views

Forwarding ICMP over a server without redirects

I need to test network characteristics like RTT in a network for example by using ICMP pings. This question is special since I want to force every packet over a server who needs to work like a router ...
Len's user avatar
  • 11