Right now the TTL of the packet is not overwritten by Vrouter. It is
only decremented like a hop, for the required packets. But BGP packets
in VM (due to BGP as service), can come to Vrouter to with ttl of 1. In
a multi hop environment, we require this ttl to be more than 1. For this
purpose flow entry is added with another ttl field and if Agent sets
this, vrouter unconditionally sets this ttl in the packet and calculates
the checksum again.
Reviewed: https:/ /review. opencontrail. org/22344 github. org/Juniper/ contrail- vrouter/ commit/ 42bd7ddcf68897f 9cede4099052cf1 62ea396404
Committed: http://
Submitter: Zuul
Branch: R3.1
commit 42bd7ddcf68897f 9cede4099052cf1 62ea396404
Author: Divakar <email address hidden>
Date: Fri May 27 15:15:23 2016 +0530
Manipulating the TTL of the Packet
Right now the TTL of the packet is not overwritten by Vrouter. It is
only decremented like a hop, for the required packets. But BGP packets
in VM (due to BGP as service), can come to Vrouter to with ttl of 1. In
a multi hop environment, we require this ttl to be more than 1. For this
purpose flow entry is added with another ttl field and if Agent sets
this, vrouter unconditionally sets this ttl in the packet and calculates
the checksum again.
partial-bug: #1567586
Change-Id: I53a192666731f4 c3662e3791006dd 7294bccf116