All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vlad Yasevich <vladislav.yasevich@hp.com>
To: linux-sctp@vger.kernel.org
Subject: Re: [Lksctp-developers] Dose lksctp suport ECMP route?
Date: Thu, 17 Apr 2008 13:09:10 +0000	[thread overview]
Message-ID: <48074BF6.3030707@hp.com> (raw)
In-Reply-To: <48074BD3.4060803@hp.com>

Li, Zongjun wrote:
> Hellow expert 
>  
> How dose LKSCTP work when there are ECMP routes? How dose the heart beat
> send?
>  
>       +------------+           *~~~~~~~~~*            +------------+
>       | Endpoint A |          *   Cloud   *           | Endpoint B |
>       |      1.2   +---------+ 1.1<--->3.1 +----------+ 3.2        |
>       |            |         |             |          |            |
>       |      2.2   +---------+ 2.1<--->4.1 +----------+ 4.2        |
>       |            |          *           *           |            |
>       +------------+           *~~~~~~~~~*            +------------+
>     Endpoint A                              Endpoint B
>     Destination     Gateway                 Destination      Gateway
>     ------------------------                -------------------------
>     3.0             1.1                     1.0              3.1
>     3.0             2.1                     1.0              4.1
>     4.0             2.1                     2.0              4.1
>      4.0             1.1                    2.0              3.1
>  

That all depends on how ECMP routes are set up and if there is support for
them.  SCTP itself has no in-depth knowledge of routing.  It simply
uses the routes provided to it by the route table lookups.

So, when associations are being established, we will attempt to lookup up and
cache routes to all the destinations provided in the INIT/INIT-ACK exchange.
The only restriction is that the source address from the routes belongs to a set
of addresses bound by the endpoint.

As a result, it is possible for the kernel to give you routes to different destinations
using the same source.  There has never really been an elegant solution to this,
since brute forcing a route lookup for every bound source address can be extremely
time consuming and there is no guarantee that you would get a better result on
subsequent lookups.

-vlad

> Best Regards,
> Jerry Li
> Field Consulting Engineer
> Wind River Bejing Office
> Tel:+86-10-64398185/86/87/88 Ext. 33
> Fax:+86-10-64398189
> Mobile:+86-13910514391
> zongjun.li@windriver.com
>  
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Lksctp-developers mailing list
> Lksctp-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lksctp-developers
> 


      reply	other threads:[~2008-04-17 13:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17 13:08 [Lksctp-developers] Dose lksctp suport ECMP route? Vlad Yasevich
2008-04-17 13:09 ` Vlad Yasevich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48074BF6.3030707@hp.com \
    --to=vladislav.yasevich@hp.com \
    --cc=linux-sctp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.