avoid ip forward replaces the source MAC address
From: Bernd Petrovitsch <hidden>
Date: 2011-02-02 12:16:24
From: Bernd Petrovitsch <hidden>
Date: 2011-02-02 12:16:24
On Die, 2011-02-01 at 14:27 -0500, Elvis Yoan Tamayo Mollares wrote:
hi list, during ip forwarding process, the kernel replace the source MAC address of the package it received with my own MAC address.. My question is: Is there any way to avoid this behavior?
Do not route (on IP-level/OSI layer 3) but switch only (on MAC level/OSI
layer 2).
Of course that has other implications and can't be done always ...
Bernd
--
Bernd Petrovitsch Email : bernd at petrovitsch.priv.at
LUGA : http://www.luga.at