Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
15 views

network issue when pinging hosts of the same lan

I have two hosts on the same network: Kali which is on VirtualBox as guest; eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 08:00:27:48:45:25 txqueuelen 1000 (Ethernet) ...
0
votes
1answer
65 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 ...
0
votes
0answers
105 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,...
4
votes
1answer
60 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 ...
2
votes
1answer
23 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 ...
0
votes
0answers
121 views

Home wifi sends ICMP messages to servers in China, Russia, Ukraine, Bulgaria and US

I recently found out how to capture outgoing packets of my router, so I tried it out and captured a few minutes of traffic. When I analyzed the packets with wireshark I noticed something odd: There ...
1
vote
2answers
418 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 ...
3
votes
1answer
138 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 ...
0
votes
0answers
72 views

IPsec tunnel MTU too small

I am currently trying to set up an IPsec tunnel between a roadwarrior and a private network by using strongswan. I was able to establish the connection and I am able to ping between the roadwarrior ...
1
vote
0answers
32 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 ...
0
votes
1answer
387 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 ...
3
votes
1answer
2k 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 ...
0
votes
1answer
369 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). ...
1
vote
1answer
725 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 ...
0
votes
1answer
1k views

How do I get all of the websites visited from this packet?

I’m trying to find all the websites visited along with their IP srs and destination addresses but all I’m getting is a “No response found!”. PS: I am given the .pcap file so I can’t modify it. Also ...
1
vote
0answers
328 views

Mac receiving ICMP requests but not sending any replies

Why could my osx machine be receiving ICMP requests (that I'm sending), but not returning any replies? $ sudo tcpdump -nni any icmp tcpdump: data link type PKTAP tcpdump: verbose output suppressed, ...
0
votes
0answers
1k views

Constant ICMP echo request sequence number - no response

I wrote a program which (in an infinite loop) sends an ICMP echo request packet (the packet consists of IP header and ICMP header only), waits for some time and then receives an ICMP echo reply packet ...
3
votes
0answers
82 views

Virtualbox machine cannot ping its own public IP

I have a strange problem. I have a bridged network adapter on my virtualbox machine (Kali Linux) - with assigned IP address with my local LAN pool (192.168.0.22) and I can ping e.g google.com (DNS ...
3
votes
1answer
79 views

Unable to send ping from host A via B to C

There is a network of three computer. Problem: Host A (192.168.1.1) can send ping to host B (10.10.0.5, also 192.168.1.2), but can not to send C (10.10.0.6, 10.10.0.7). Host A say: "10.10.0.6 = ...
1
vote
0answers
21 views

Why is address family mandatory when using icmp with pf?

there. I wasn't able to find the answer for this question: when creating an ICMP pf rule, I must tell it's inet or inet6 address family; I would like to know why, as proto icmp is for inet and proto ...
0
votes
2answers
525 views

Zabbix ICMP Template Macro

I am trying to use a Macro in the ICMP Template to have more flexibilty for my hosts. In my head I have everything set up correctly, In my trigger view I can see the host is set to alarm warning only ...
0
votes
1answer
889 views

Get ICMP packet payload

I know, that I can send a custom payload with -p param in hex format, like ping -p DEADBEAF 8.8.8.8 Just curious, does the server could answer with payload too? If yes, how can I show it in terminal? ...
0
votes
1answer
734 views

icmpping in Zabbix, one item multiple server

I want to check availability of 16 machines with a single simple check item in zabbix, how can I do that?
0
votes
0answers
121 views

Tracert shows unlisted IP adress. Can't ping or tracert in LAN

So this issue is boggling my mind right now. I have the following setup: device A - my desktop computer, Win 7, wired ethernet connection to router (Fritzbox 7490). device B - my laptop computer, ...
0
votes
2answers
155 views

Cannot ping, but can connect to the internet - Windows 8

I am not able to ping google.com or any other host when connected to ethernet (request timed out), however I do have network connectivity. When I connect to Wi-Fi on the same network, I am able to ...
1
vote
1answer
856 views

Exact meaning of ICMP protocol 1 port xxx unreachable in a ping exchange

A tcpdump of a ping session shows the following two lines: IP gateway.comp.com > somehost.comp.com: ICMP redirect 10.8.0.10 to host othergateway.comp.com, length 68 IP gateway.comp.com > ...
1
vote
1answer
2k views

Why does ICMP Echo Request and Echo Reply packets contain a Data portion?

The ICMP Echo Request and Echo Reply packets contain a Data portion. For example this is an Echo Request packet (that was sent in Windows using the ping command): As you can see, there is a Data ...
0
votes
0answers
300 views

How do PING responses disabled from different subnets?

I found that: I can ping my Windows box A from another computer B in the same subnet. This implies, that echo server is running. I can open remote desktop on A from another computer C in another ...
0
votes
1answer
168 views

Why is the ICMP protocol considered to run at layer 3 when it is a payload for the IP packet?

Why is the ICMP protocol considered to run at layer 3 on the wikipedia page ? (same layer as IP) when the ICMP protocol data is a payload of the IP packet? this is the article on wikipedia that ...
2
votes
2answers
10k views

Why ICMP is different that TCP and UDP? [closed]

what is the difference between Internet Control Messaging Protocol over Transmission Control Protocol and User Datagram Protocol
3
votes
1answer
513 views

Varying TTL on LAN

I've got a wireless router behind a router-modem. If I ping my router-modem (TWO hops), all seems well : robut@host:~$ ping 172.X.X.36 PING 172.X.X.36 (172.X.X.36) 56(84) bytes of data. 64 bytes ...
3
votes
2answers
5k views

Linux Virtual machine can't ping Google, while Host can do it

Assumptions: You have a Windows 7 Ultimate as your host. You have a Linux Kali 2 as a VMWare Workstation virtual machine on this host. Your network adapter is bridged on the VMWare(Version 10.0.3). ...
0
votes
0answers
3k views

Why can't i ping my iPad from the PC?

I have an iPad 2 with iOs 8.3 and i have a PC with Win 7. And i have a trouble: the PC can't ping the iPad. 'ping 192.168.0.41' says 'destination host unreachable' But my gate device, ZTE F660 can ...
1
vote
1answer
632 views

Disable ping on Windows (not block)

How can I disable Windows ping from replying? Is there a service I can kill? I don't want to block it via a firewall, as I can my own ping service running (custom application). tia.
0
votes
0answers
387 views

Traceroute behind a Carrier-Grade NAT (IP address 100.64.0.0/10)

Is it possibile that a Carrier-Grade NAT blocks all incoming ICMP messages? Trying a traceroute from an IP address belonging to the range 100.64.0.0/10 it doesn't detect any hop, neither the first ...
0
votes
0answers
579 views

how to stop PC from sending ICMP of “Destination Unreachable(host administratively prohibited)”

I'm doing some experiments and measurements. I send some random TCP packets to a laptop(with fedora system), that laptop reacts by sending ICMP packets of type 3 and code 10, which means Destination ...
1
vote
1answer
1k views

Locating and pinging a satellite

I want to ping a satellite, or ping some far off computer and know for sure that somewhere in the traceroute is a satellite hop I know that if I ping a computer in , say, australia (i am in the UK) ...
1
vote
1answer
555 views

Customize Linux ping icmp response

Is there any way to customize the icmp echo response a Linux machine sends back when someone pings it? Say I ping my PC at home and I want it to send a few bytes of preset data back, a message in ...
-2
votes
1answer
302 views

Why ping/latency lower in-game than command prompt?

Is it weird that when i tested my ping to a specific gaming server on cmd, and it showed a constant and stable 42 ms (never below that), and When i played on that server in the game, it showed my ping ...
-1
votes
1answer
5k views

Is ICMP port unreachable error generated by both TCP and UDP? [closed]

A program on machine X attempts to open a UDP connection to port 5376 on a machine Y, and a TCP connection to port 8632 on machine Z. However, there are no applications listening at the corresponding ...
0
votes
0answers
58 views

How to configure Windows XP/windows 7 to support icmpv6 redirection?

I construct an icmpv6 redirection packet. When I send it to Linux, it works well. Then I modify its destination ip and mac address and send it to the corresponding windows XP/7 system, but windows XP/...
4
votes
3answers
9k views

How ping a server which has ICMP blocked

I'm trying to ping a server which has ICMP blocked with normal ping. It's showing: Request timed out Is there any other method to ping it?
1
vote
2answers
2k views

Why does a ping flood wake up a PC, while a single ping does not?

I just noticed that when you flood-ping a PC that is in sleep-mode, it will wake it up while a single ping or multple pings per 1 sec does not wake it up. Wake up on lan/wan is enabled. What is the ...
1
vote
0answers
92 views

ICMP flood with ping working only one time

my problem is simple: The first time I made a flooding ping to a fake ip on my network (for testing if someone is on promisc mode), it works perfectly: $ping -f 192.168.1.10 After perfoming this, ...
0
votes
2answers
551 views

Block ICMP flood from a specific IP with pf

I'm getting a lot of ICMP throttle messages in my system.log: Apr 11 20:45:28 kernel[0]: Limiting icmp unreach response from 1054 to 250 packets per second Apr 11 20:45:29 kernel[0]: Limiting icmp ...
1
vote
1answer
343 views

Can a home PPPoE connection access all websites, regardless of the site infrastructure's MTU settings?

I'm just trying to get my head round MTU, MRU and MSS. My interest initially came from the answer in this post: Security risk of PING?: Some ICMP packet types MUST NOT be blocked, in particular ...
0
votes
1answer
826 views

Can I ping a host that has disabled the ICMP Ping option?

I need to know if it's possible to compare and test how fast is an IP (ie: any web or game server) relative to my location (in terms of network latency), even if they have disabled ICMP/Ping requests ...
2
votes
1answer
1k views

Cannot ping or ssh from lan to virtual machine

I have next setup: My home lan = 192.168.1.0/24 My virtual lan = 192.168.207.0/24 My laptop = 192.168.1.109 (dhcp OS=Windows7) My desktop = 192.168.1.206 (fixed ip OS=Windows8) My virtual machine ...
1
vote
1answer
532 views

UDP port scanning

UDP is connectionless, so I can't expect a response packet, necessarily. If the port is closed, I might get an ICMP error message, but if the firewall could silently drop the ICMP packet How could I ...
0
votes
2answers
53 views

What does this hex value mean in source column within NETMON?

I am using NETMON to try and figure out why my local network is running so slow. I think it may be related to a system logged into it, but in order to not draw attention to my task i have been ...