With MX in ECMP, traffic from VM to BMS is getting routed

Bug #1464972 reported by Praveen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Praveen
Trunk
Fix Committed
High
Praveen

Bug Description

Scenario:

The setup has following configuration,

1. VN with subnet 1.1.1.0/24
2. There are 2 MX and both of them have 1.1.1.1/24 configured.
3. A VM with 1.1.1.2 pings to BMS with IP 1.1.1.5
4. ARP inside VM for 1.1.1.5 points to VRRP MAC instead of BMS MAC resulting in packet being routed

Problem:
1. Both MX export route for 1.1.1.0/24
2. On the compute node, 1.1.1.0/24 will be a ECMP route
3. When VM ARPs for 1.1.1.5, local vrouter will respond with VRRP MAC since its a ECMP route

Fix:
Force routes with IPAM Subnet to flood ARP even if its an ECMP route

Tags: vrouter
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/11601
Submitter: Praveen K V (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/11601
Committed: http://github.org/Juniper/contrail-controller/commit/b14b9a8114b2556586696a150572a285e678bf1b
Submitter: Zuul
Branch: R2.20

commit b14b9a8114b2556586696a150572a285e678bf1b
Author: Praveen K V <email address hidden>
Date: Sun Jun 14 13:45:43 2015 +0530

Flood ARP for IPAM Subnet routes in all cases

When we have 2 gateways for a network in ECMP, packets from VM to BMS
are getting routed. The root cause is, in agent gets a ECMP route for
IPAM subenet. When VM does ARP for BMS, vrouter does proxy ARP with VRRP
MAC due to ECMP Route.

Fix:
VRouter should flood ARP packet if IP address belongs to IPAM Subnet
even if the route lookup hits ECMP

Change-Id: Ibc018048694c72be4514d2e66d51beec527bbc6f
Closes-Bug: #1464972

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/11867
Submitter: Praveen K V (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/11867
Committed: http://github.org/Juniper/contrail-controller/commit/3914eab143d50e5311427f621b16b29339b011db
Submitter: Zuul
Branch: master

commit 3914eab143d50e5311427f621b16b29339b011db
Author: Praveen K V <email address hidden>
Date: Sun Jun 14 13:45:43 2015 +0530

Flood ARP for IPAM Subnet routes in all cases

When we have 2 gateways for a network in ECMP, packets from VM to BMS
are getting routed. The root cause is, in agent gets a ECMP route for
IPAM subenet. When VM does ARP for BMS, vrouter does proxy ARP with VRRP
MAC due to ECMP Route.

Fix:
VRouter should flood ARP packet if IP address belongs to IPAM Subnet
even if the route lookup hits ECMP

Closes-Bug: #1464972
Change-Id: Ibc018048694c72be4514d2e66d51beec527bbc6f

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.