Andreas Do you where I can find the description these ioctl calls. Regards Omar ===================================================================== ----- Mail original ----- De: "Andreas Fink" <afink@xxxxxxxxxxxxx> À: "OMAR AIT AMRANE" <o.evistel@xxxxxxx> 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@xxxxxxx 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@xxxxxxxxxxxxx> > À: "OMAR AIT AMRANE" <o.evistel@xxxxxxx> > Cc: "Marcelo Ricardo Leitner" <marcelo.leitner@xxxxxxxxx>, "linux-sctp" <linux-sctp@xxxxxxxxxxxxxxx> > 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@xxxxxxx 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 >> >