icmp request received, but doesn't reply [closed] icmp request received, but doesn't reply [closed] linux linux

icmp request received, but doesn't reply [closed]


I was receiving ICMP packets but did not see them go out. The problem was related to the traffic traversing multiple interfaces and reverse path filtering being on by default...

I've enabled martian source logging first:

$ echo 1 >/proc/sys/net/ipv4/conf/eth2/log_martians

Then there are several options for what to do with them... I'm enabling loosely handling them:

$ sysctl net.ipv4.conf.all.rp_filter=2

See these for details:


Run tcpdump with -e flag and see if the destination MAC address is correct.