From: c.aeschlimann@acn-group.ch (Christophe Aeschlimann)
To: kernelnewbies@lists.kernelnewbies.org
Subject: avoid ip forward replaces the source MAC address
Date: Wed, 02 Feb 2011 10:16:03 +0100 [thread overview]
Message-ID: <4D4920D3.20103@acn-group.ch> (raw)
In-Reply-To: <AANLkTinr7V19eUwLHx-qV_LAKRk=C0tD2phYykCX=1D4@mail.gmail.com>
On 01.02.2011 20:39, John Mahoney wrote:
> On Tue, Feb 1, 2011 at 2:27 PM, Elvis Yoan Tamayo Mollares
> <etmoyares@grm.uci.cu> 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?
>
> That is what routing does at the ip layer. You may be able to
> accomplish this by bridging the two ports together so that the traffic
> is handled at layer 2.
Indeed, have a look at :
http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge
> --
> John
--
Christophe Aeschlimann
Embedded Software Engineer
ACN Advanced Communications Networks S.A.
Rue du Puits-Godet 8a
2000 Neuch?tel, Switzerland
T?l. +41 32 724 74 31
c.aeschlimann at acn-group.ch
next prev parent reply other threads:[~2011-02-02 9:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-01 19:27 avoid ip forward replaces the source MAC address Elvis Yoan Tamayo Mollares
2011-02-01 19:39 ` John Mahoney
2011-02-02 9:16 ` Christophe Aeschlimann [this message]
2011-02-02 19:26 ` John Mahoney
2011-02-02 12:16 ` Bernd Petrovitsch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D4920D3.20103@acn-group.ch \
--to=c.aeschlimann@acn-group.ch \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.