From owner-freebsd-net@FreeBSD.ORG Mon Mar 23 11:31:34 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EADE81065670 for ; Mon, 23 Mar 2009 11:31:34 +0000 (UTC) (envelope-from Michael.Tuexen@lurchi.franken.de) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by mx1.freebsd.org (Postfix) with ESMTP id 54CCC8FC1B for ; Mon, 23 Mar 2009 11:31:34 +0000 (UTC) (envelope-from Michael.Tuexen@lurchi.franken.de) Received: from dhcp-45e3.meeting.ietf.org (dhcp-45e3.meeting.ietf.org [130.129.69.227]) by mail-n.franken.de (Postfix) with ESMTP id 5F5BC1C0B4618; Mon, 23 Mar 2009 12:31:31 +0100 (CET) Message-Id: <71A21E16-168D-4883-B452-42C66AB57759@lurchi.franken.de> From: =?ISO-8859-1?Q?Michael_T=FCxen?= To: Andrew Chen In-Reply-To: <20090323182021.ysrn0ogu84cg084g@wmail1.cc.ntu.edu.tw> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.4) Date: Mon, 23 Mar 2009 04:31:28 -0700 References: <20090323182021.ysrn0ogu84cg084g@wmail1.cc.ntu.edu.tw> X-Mailer: Apple Mail (2.930.4) Cc: freebsd-net@freebsd.org Subject: Re: Problems in using SCTP CMT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 11:31:35 -0000 H Andrew, what you describe is correct. Are there actually multiple addresses changed within the INIT/INIT-ACK chunk? If yes, you have done everything correctly. The interesting thing: I also noticed that there are CMT problems on FreeBSD 8.0 Current. Randall Stewart and myself have started debugging the problem yesterday... We'll send you a notice, once we have found the problem and fixed it. Best regards Michael On Mar 23, 2009, at 3:20 AM, Andrew Chen wrote: > Hi, > We have some problems when we tried to send data using CMT-SCTP. > Actually, we are not sure if we do enable CMT functionalities. We > set up two PCs with FreeBSD-7.0. Each PC has two NICs and two IPs. > One is public and the other is private. We wrote simple FTP server > and client programs. On both sides, local addresses are bound as > INADDR_ANY. According to http://tools.ietf.org/html/draft-ietf-tsvwg-sctpsocket-14#section-4.1.5 > , if we bind INADDR_ANY and then call connect(), the multi-homing > capability of SCTP is automatically enabled. Further, we also turn > on sysctl states by setting > sysctl net.inet.sctp.cmt_pf=1 > sysctl net.inet.sctp.cmt_use_dac=1 > sysctl net.inet.sctp.cmt_on_off=1 > Then we start transmission and capture the traffics. Unfortunately, > the captured packet shows data were transmitted on primary path and > there were only heartbeat/HB ACKs on the other path. > To our knowledge, to use CMT, the only things we have to do is to > establish a multihomed association, and turn on the sysctl options. > Can anyone point out something we did wrong or steps we missed? > Thanks in advance. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >