Comment 27 for bug 1594165

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

Reviewed: https://review.opencontrail.org/23862
Committed: http://github.org/Juniper/contrail-vrouter/commit/5b9798ecf9664407ebb51e2ae6fbb8a77c37d530
Submitter: Zuul
Branch: R2.22.x

commit 5b9798ecf9664407ebb51e2ae6fbb8a77c37d530
Author: Divakar <email address hidden>
Date: Mon Aug 29 22:32:00 2016 +0530

Respond with stitched MAC for unicast ARP request

When an unicast ARP request is received on fabric interface of a compute
node, from BMS behind QFX, if MX is in ecmp, the source IP lookup might
point to subnet route pointing to Ecmp nexthop. This is because there
would not be any host route for BMS in inet table. This results in Vrouter
responding with Vhost mac address though the destination IP address is
stitched. As such this behaviour is to ensure that Routing is forced if
the packet is from Ecmp source, though destination is in same subnet.
But this behaviour creates issues to BMS behind QFX, if BMS refreshes
ARP with unicast ARP request.

As a fix, the multicast ARP requests from Ecmp source on fabric
interface are dropped. If unicast ARP requests and if the destination
mac address of the ethernet packet is stitched mac, the ARP reply is
sent with stitched mac. If destination mac address does not match with
stitched mac, that ARP request is not processed by Vrouter.

closes-bug: #1594165

Change-Id: I72f4c44329b14c589343b30b84181cc8e0e05e81