From: bernd@petrovitsch.priv.at (Bernd Petrovitsch) Date: Wed, 02 Feb 2011 13:16:24 +0100 Subject: avoid ip forward replaces the source MAC address In-Reply-To: <4D485EBD.6070308@grm.uci.cu> References: <4D485EBD.6070308@grm.uci.cu> Message-ID: <1296648984.31525.20.camel@thorin> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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