Article 5P7GK ICMP in Linux Kernel

ICMP in Linux Kernel

by
sara sh
from LinuxQuestions.org on (#5P7GK)
I have a question about the function of the network stack in the Linux kernel. Suppose a Linux server with two interfaces,

eth1: (IP: 192.168.42.1, MAC: 56:ab:44:0e:b8:d9) eth2: (IP: 10.20.0.3 MAC: 56:ab:44:0e:b8:d8)

I realized if an ICMP packet arrives at this host with the destination IP address of eth2 (10.20.0.3) but the MAC address of eth1 (6:ab:44:0e:b8:d9) ping works although the MAC address does not match with IP address.

So I was wondering which process is happening in Linux Kernel, that the ping reply is working?

Thanks,latest?d=yIl2AUoC8zA latest?i=wgGXW96wx9k:vppGyTY2crM:F7zBnMy latest?i=wgGXW96wx9k:vppGyTY2crM:V_sGLiP latest?d=qj6IDK7rITs latest?i=wgGXW96wx9k:vppGyTY2crM:gIN9vFwwgGXW96wx9k
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments