Netdev List
 help / color / mirror / Atom feed
From: Ido Schimmel <idosch@idosch.org>
To: Swarm NameRedacted <thesw4rm@pm.me>
Cc: netdev@vger.kernel.org
Subject: Re: Packet not rerouting via different bridge interface after modifying destination IP in TC ingress hook
Date: Thu, 6 Aug 2020 10:49:09 +0300	[thread overview]
Message-ID: <20200806074909.GA2624653@shredder> (raw)
In-Reply-To: <20200806070011.fmqvd4hekpehx425@chillin-at-nou.localdomain>

On Thu, Aug 06, 2020 at 07:00:15AM +0000, Swarm NameRedacted wrote:
> Not sure this applies. There's no NAT since everything is on the same
> subnet. 

IIUC, packet is received on eth0, you then change the DMAC to SMAC on
ingress (among other things) and then packet continues to the bridge.
The bridge checks the DMAC and sees that the packet is supposed to be
forwarded out of eth0. Since it's also the ingress interface the packet
is dropped. To overcome this you need to enable hairpin.

  reply	other threads:[~2020-08-06 11:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-05  8:19 Packet not rerouting via different bridge interface after modifying destination IP in TC ingress hook Swarm NameRedacted
2020-08-05 13:39 ` Andrew Lunn
2020-08-05 20:12   ` Swarm NameRedacted
2020-08-06  6:33     ` Ido Schimmel
2020-08-06  7:00       ` Swarm NameRedacted
2020-08-06  7:49         ` Ido Schimmel [this message]
2020-08-06  8:33           ` Swarm NameRedacted

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=20200806074909.GA2624653@shredder \
    --to=idosch@idosch.org \
    --cc=netdev@vger.kernel.org \
    --cc=thesw4rm@pm.me \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox