All of lore.kernel.org
 help / color / mirror / Atom feed
From: o.evistel@free.fr
To: Andreas Fink <afink@list.fink.org>
Cc: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>,
	 linux-sctp <linux-sctp@vger.kernel.org>
Subject: Re: Linux SCTP multihoming question
Date: Fri, 9 Feb 2024 13:03:30 +0100 (CET)	[thread overview]
Message-ID: <1053910852.115494076.1707480210747.JavaMail.zimbra@free.fr> (raw)
In-Reply-To: <483A5123-AA38-48EC-8158-120DFFC1E5D8@list.fink.org>

Andreas

Do you where I can find the description these ioctl calls.

Regards
Omar
=====================================================================

----- Mail original -----
De: "Andreas Fink" <afink@list.fink.org>
À: "OMAR AIT AMRANE" <o.evistel@free.fr>
Envoyé: Vendredi 9 Février 2024 12:09:48
Objet: Re: Linux SCTP multihoming question

I don't think the SCTP protocol allows this to choose. As it's a hot/hot setup. Multiple path can be used at the same time. But there might be some ioctl calls to force it.


> On 9 Feb 2024, at 12:01, o.evistel@free.fr wrote:
> 
> Hi Andreas,
> 
> My explanation was not clear enough.
> 
> I would like to know if it is possible to force sctp to use alernate address instead of primary address while both of them are available.
> 
> Regards
> Omar 
> =========================================================================================
> 
> ----- Mail original -----
> De: "Andreas Fink" <afink@list.fink.org>
> À: "OMAR AIT AMRANE" <o.evistel@free.fr>
> Cc: "Marcelo Ricardo Leitner" <marcelo.leitner@gmail.com>, "linux-sctp" <linux-sctp@vger.kernel.org>
> Envoyé: Vendredi 9 Février 2024 11:10:22
> Objet: Re: Linux SCTP multihoming question
> 
> yes this is possible. My eSTP does this exactly this way. for M3UA and M2PA You simply use sctp_bindx to bind to exact local address you need.
> You can add or remove local IP's and alter the association. But I'm not sure if you can force a specific path to be used as primary. SCTP basically can use any and switch over to the other.
> 
> If you think of something like hot/standby setup, you might want to do this on M3UA level which means having two SCTP associations (two ASPs in one AS)
> 
> 
> 
>> On 9 Feb 2024, at 11:05, o.evistel@free.fr wrote:
>> 
>> 
>> Dear Marcelo
>> 
>> I am using linux-sctp as transport for SIGTRAN M3UA on RHEL 8.4 with multihoming (sctp_bindx(), sctp_connectx() API functions).
>> I would like to know, after association setup, if it is possible to instruct SCTP to use a specific local address from the list of bound addresses to reach the peer.
>> 
>> Regards
>> Omar AIT AMRANE
>> 
>

  parent reply	other threads:[~2024-02-09 12:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6f6f11b5c30bce3d6e77d719ef75112dee75250d.profile@marceloleitner.u.sourceforge.net>
2022-07-07 13:39 ` Linux SCTP associations failure handlig Marcelo Ricardo Leitner
2022-07-08 14:46   ` o.evistel
2022-07-13 12:58   ` Linux SCTP performance question o.evistel
2022-07-15 18:48     ` Marcelo Ricardo Leitner
2022-07-18 11:54       ` o.evistel
2022-07-16 12:13     ` David Laight
2022-07-18 14:09       ` o.evistel
2022-07-18 14:44         ` David Laight
2022-07-18 14:46         ` David Laight
2024-02-09 10:05     ` Linux SCTP multihoming question o.evistel
2024-02-09 10:10       ` Andreas Fink
2024-02-09 11:01         ` o.evistel
     [not found]           ` <483A5123-AA38-48EC-8158-120DFFC1E5D8@list.fink.org>
2024-02-09 12:03             ` o.evistel [this message]
2024-02-10 17:03       ` David Laight
2024-02-10 17:09         ` Philipp Stanner
2024-02-10 17:34           ` David Laight
2024-02-10 17:48             ` Philipp Stanner
2024-02-10 18:02               ` David Laight
2024-02-10 18:37                 ` Philipp Stanner

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=1053910852.115494076.1707480210747.JavaMail.zimbra@free.fr \
    --to=o.evistel@free.fr \
    --cc=afink@list.fink.org \
    --cc=linux-sctp@vger.kernel.org \
    --cc=marcelo.leitner@gmail.com \
    /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.