Comment 11 for bug 1550312

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/17993
Committed: http://github.org/Juniper/contrail-vrouter/commit/3958b00a2bff624bfdb49f42b56d6c637b44b901
Submitter: Zuul
Branch: master

commit 3958b00a2bff624bfdb49f42b56d6c637b44b901
Author: Divakar <email address hidden>
Date: Sat Feb 27 09:37:41 2016 +0530

Use innerpacket's destip as source ip while doing Tx Port mirroring

When Transmit port mirroring is enabled, packet received on Fabric
interface is right now mirrored using the source IP of the inner packet.
This results in RPF failure on Analyzer VM's compute node because the
compute node which is doing the port mirroring is using other compute
node's VM IP.

As a fix, if mirroring is Tax mirroring, rather using inner packets
source ip, dest ip is used, so that Analyzer VM's RPF will not have any
issues

closes-bug: #1550312

Conflicts:
 dp-core/vr_mirror.c

Change-Id: Iaef919a47dceff00efd183d9b128e07ec8b6a0ba