Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| en:dpi:dpi_components:platform:dpi_inst_spec:dpi_onstick [2025/05/23 14:02] – ↷ Links adapted because of a move operation elena.krasnobryzh | en:dpi:dpi_components:platform:dpi_inst_spec:dpi_onstick [2026/02/02 14:45] (current) – [Applying balancing to outgoing LAG traffic] elena.krasnobryzh |
|---|
| ====Applying balancing to outgoing LAG traffic==== | ====Applying balancing to outgoing LAG traffic==== |
| The type of the applied balancing algorithm is specified by the ''lag.balance_algo'' parameter: | The type of the applied balancing algorithm is specified by the ''lag.balance_algo'' parameter: |
| * ''0'' - balancing by internal ''session_id'' (default balancing). The ''session_id'' is used as the hash. | * ''-1'' — without load balancing — the packet is sent to the paired bridge port |
| * ''1'' - no balancing - the packet will be sent to the paired bridge port. | * ''0'' (default) — load balancing by internal ''session_id'' (default balancing). ''session_id'' is used as the hash |
| * ''2'' - hash from ''flow key <srcIP, dstIP, srcPort, dstPort, proto>''. If there is no flow - balance by ''session_id'' | * ''1'' — hash based on ''flow key <srcIP, dstIP, srcPort, dstPort, proto>''. if there is no ''flow'', balancing is performed by ''session_id'' |
| | |
| Additional hash configuration parameters in the ''lag'' section: ''hash_seed'', ''hash_offset'', ''hash_bits''\\ How many significant bits we take from the 64-bit hash during balancing. The balancing algorithm in the general case looks like this: | Additional hash configuration parameters in the ''lag'' section: ''hash_seed'', ''hash_offset'', ''hash_bits''\\ How many significant bits we take from the 64-bit hash during balancing. The balancing algorithm in the general case looks like this: |