• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

TNSR ECMP Algorithms?

Scheduled Pinned Locked Moved TNSR
8 Posts 5 Posters 1.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    cmooney
    last edited by Sep 9, 2019, 9:20 AM

    Hi,

    We are considering TNSR for an upcoming project.

    Part of the requirements we have is to perform ECMP across a number of devices, but only hash on the source ip of each packet. I.e. we have a requirement that all traffic from source IP A always be sent to R1 on the other side.

    I know Linux out of the box cannot do this, its two configurable ECMP modes are 'L3' (which use SRC+DST IP) and 'L4' (which uses SRC IP + DST IP + SRC PORT + DST PORT + PROTOCOL.)

    I know certain vendor implementations allow selection of only Source IP for ECMP. Can anyone advise if this is possible with VPP / TNSR?

    Thanks.

    1 Reply Last reply Reply Quote 0
    • D
      dennis_s
      last edited by Sep 9, 2019, 2:54 PM

      Hi @cmooney,

      I am not sure it would work like that, we would let routing protocol decide on the best path(s) to take. However, to see if this is something that is configurable I would contact one of our sales engineers to see if it's possible.

      1 Reply Last reply Reply Quote 0
      • C
        cmooney
        last edited by Sep 9, 2019, 3:39 PM

        It's not really to do with the routing protocol, it's really about the underlying packet forwarding engine.

        I can add two equal cost routes by creating two statics to different destinations, or those two equal-cost routes can be from OSPF, BGP etc. etc.

        The question is once there are two equal routes in the table how does the platform load-share between the two different next-hops.

        Thanks.

        D 1 Reply Last reply Sep 9, 2019, 3:51 PM Reply Quote 0
        • D
          dennis_s @cmooney
          last edited by Sep 9, 2019, 3:51 PM

          That is done via round-robin.

          1 Reply Last reply Reply Quote 0
          • C
            cmooney
            last edited by Sep 9, 2019, 4:56 PM

            How do you mean round-robin?

            Per-packet round robin?

            1 Reply Last reply Reply Quote 0
            • F
              fractal_boy
              last edited by Feb 21, 2024, 9:36 PM

              more details on ECMP are here https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/fib20/dataplane.html

              1 Reply Last reply Reply Quote 0
              • R
                razysej
                last edited by fractal_boy Oct 28, 2024, 6:34 PM Oct 28, 2024, 6:32 PM

                Balances traffic based on source IP, destination IP, source port, destination port, and protocol, allowing effective load distribution while maintaining session consistency.

                1 Reply Last reply Reply Quote 0
                • A
                  ameliataylor
                  last edited by Jan 31, 2025, 12:23 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received