All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vlad Yasevich <vyasevich@gmail.com>
To: linux-sctp@vger.kernel.org
Subject: Re: Multi-homing question
Date: Fri, 15 Nov 2013 21:36:26 +0000	[thread overview]
Message-ID: <528693DA.9040602@gmail.com> (raw)
In-Reply-To: <CAJ0j_BaKwMix1-N-+5RnT2BLZNi5Usz3XA8V5Ygr6mMExrDesw@mail.gmail.com>

On 11/06/2013 10:45 PM, tsoi andrew wrote:
> Dear Neil,
>
> Attached file is our tcpdump.
> Now our secondary IP doesn't work.
> Please advise. Thanks.
>
> IP info:
> lksctp primary IP is 172.28.129.49
> lksctp secondary IP is 172.28.129.176
>
> Client IP is 10.82.29.240/10.82.29.241
>
>

Since it appears that you are using multiple interfaces
in the same subnet, can you please make sure that:
1) you have arp_ignore set correctly.
2) you have route rules that specify that different source
addresses should be used for different destinations.

Without this, linux will just pick the first/best address
and interface to use and you will not have real multi-homing.

You alternative of course is to set up secondary ip in a different
subnet.  This way you would have more appropriate multi-homing
configuration.

-vlad


>
>
>
> Regards,
> Andrew
>
> On Thu, Nov 7, 2013 at 10:43 AM, tsoi andrew <tsoiandrew@gmail.com> wrote:
>>   Dear Neil,
>>
>> For more information, our secondary IP doesn't response COOKIE_ECHO
>> also. Only our primary IP can response COOKIE_ECHO with COOKIE_ACK.
>>
>> Regards,
>> Andrew
>>
>> On Thu, Nov 7, 2013 at 10:36 AM, tsoi andrew <tsoiandrew@gmail.com> wrote:
>>> Dear Neil,
>>>
>>> Please find my network diagram first.
>>> Now at server side, can't see our lksctp client 4 connection but only
>>> 2 2 connection.  The reason is that heartbeat ACK not found.
>>>
>>> Regards,
>>> Andrew
>>>
>>> On Mon, Nov 4, 2013 at 8:09 PM, Neil Horman <nhorman@tuxdriver.com> wrote:
>>>> On Mon, Nov 04, 2013 at 09:59:44AM +0800, tsoi andrew wrote:
>>>>> Dear Sir,
>>>>>
>>>>> I got a problem when set multi-homing to active/active.
>>>>> That mean, It is expected that our lksctp server have 2 IP to connect
>>>>> 2 IP of destination client with total 4 connections.
>>>>> The flow is that client send "INIT" message with 2 (primary and
>>>>> secondary) IP to our server and lksctp server return INIT_ACK. But
>>>>> when second client send 'heartbeat' to us, lksctp server cannot return
>>>>> ACK.
>>>>> Moreover, we already proved our connectivity correct because when our
>>>>> lksctp server send heartbeat to both destination client and they can
>>>>> return ACK.
>>>>> Would you mind sharing if lksctp lib already configure those
>>>>> multi-homing purpose.
>>>>>
>>>> Can you provide a network diagram and a tcpdump of your connection?
>>>> Neil
>>>>
>>>>>
>>>>>
>>>>> Best Regards,
>>>>> Andrew Tsoi
>>>>> --
>>>>> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
>>>>> the body of a message to majordomo@vger.kernel.org
>>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>>


      parent reply	other threads:[~2013-11-15 21:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04  1:59 Multi-homing question tsoi andrew
2013-11-04 12:09 ` Neil Horman
2013-11-07  2:36 ` tsoi andrew
2013-11-07  2:43 ` tsoi andrew
2013-11-07  3:45 ` tsoi andrew
2013-11-07 14:16 ` Neil Horman
2013-11-08  3:35 ` tsoi andrew
2013-11-08  4:18 ` tsoi andrew
2013-11-08  7:47 ` tsoi andrew
2013-11-08 12:12 ` Neil Horman
2013-11-09  2:44 ` tsoi andrew
2013-11-11 12:56 ` Neil Horman
2013-11-12  2:05 ` tsoi andrew
2013-11-12 13:43 ` Neil Horman
2013-11-15 21:36 ` 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=528693DA.9040602@gmail.com \
    --to=vyasevich@gmail.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.