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/22707 github. org/Juniper/ contrail- vrouter/ commit/ 14f0f112496145d e880d0c398ff1d7 b5d158f1b2
Committed: http://
Submitter: Zuul
Branch: master
commit 14f0f112496145d e880d0c398ff1d7 b5d158f1b2
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