Problem:
For vcenter only mode, the agent replies arp with the physical intf mac address for the VN's gateway ip.
When vm migrates to a different esxi host as part of vmotion,vcenter plugin binds it to the new contrail-compute-vm,whose physical intf mac is different. But the vm still hold the old mac address for the gateway ip in the arp table.
Until the old mac address gets flushed and the new mac is learnt for the gateway ip, the traffic is lost from the vm for a different subnet.
Solution:
Whenever VM migrates to new esxi host. and upon creation of VM interface
Arp module will listen on route update. after getting the route update
send the gratious arp for the Gateway IP.
closes-bug:#1650219
Reviewed: https:/ /review. opencontrail. org/27833 github. org/Juniper/ contrail- controller/ commit/ 65bfda4275e660c 80805121fb0ebbd c07a88b52f
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.2
commit 65bfda4275e660c 80805121fb0ebbd c07a88b52f
Author: jayaramsatya <email address hidden>
Date: Wed Jan 11 19:33:37 2017 +0530
Problem: compute- vm,whose physical intf mac is different. But the vm still hold the old mac address for the gateway ip in the arp table.
For vcenter only mode, the agent replies arp with the physical intf mac address for the VN's gateway ip.
When vm migrates to a different esxi host as part of vmotion,vcenter plugin binds it to the new contrail-
Until the old mac address gets flushed and the new mac is learnt for the gateway ip, the traffic is lost from the vm for a different subnet.
Solution:
Whenever VM migrates to new esxi host. and upon creation of VM interface
Arp module will listen on route update. after getting the route update
send the gratious arp for the Gateway IP.
closes-bug:#1650219
Change-Id: I6bf4bab98c956b ead866d22b7c8e8 960419315b4