[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKfDRXjqm-7q_2g=KZPCQj2bSU+Th_p3zjXPQvhsaxXOMK2+rw@mail.gmail.com>
Date: Fri, 16 Aug 2013 13:23:31 +0200
From: Kristian Evensen <kristian.evensen@...il.com>
To: Florian Westphal <fw@...len.de>
Cc: netfilter@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: MASQUERADE/SNAT and multiple interfaces with the same IP
On Fri, Aug 16, 2013 at 1:18 PM, Florian Westphal <fw@...len.de> wrote:
>> Does this mean that even when using SNAT, the old mapping is deleted
>> and a new created?
>
> No.
Thank you very much for the help, I see now that I was a little bit
too fast and missed a detail in nf_nat_oif_changed(). If anyone ever
stumbles across the question in the future: SNAT does not set
masq_index and, thus, nf_nat_oif_changed() will always return false.
Have a nice weekend!
-Kristian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists