SAI icon indicating copy to clipboard operation
SAI copied to clipboard

SAI_VIRUTAL_ROUTER_VIOLATION_TTL1_ACTION clarification

Open vboykox opened this issue 3 years ago • 0 comments

  1. If we have both SAI_HOSTIF_TRAP_TYPE_TTL_ERROR and SAI_VIRUTAL_ROUTER_VIOLATION_TTL1_ACTION configured, does one config just take precedence over another or a more complex behaviour is expected in this case? Considering a case when VRF TTL action is TRAP and hostif trap is DROP - what should happen to a packet with TTL1 entering the VRF? Also, if these are two separate mechanisms of packet trap, how QoS should be applied for traffic trapped via SAI_VIRUTAL_ROUTER_VIOLATION_TTL1_ACTION?

  2. If SAI_VIRUTAL_ROUTER_VIOLATION_TTL1_ACTION is set to forward and VRF receives a packet with TTL=1, should TTL field be decreased to zero? (If so, this contradicts RFC 1122 Section 3.2.1.7 and RFC 1812 Section 4.2.2.9)

I have not found a clear explanation on how this attribute is supposed to work in the docs. Thanks in advance.

vboykox avatar Apr 14 '22 13:04 vboykox