Date: Mon, 23 Mar 2009 14:36:12 -0400 From: Randall Stewart <rrs@lakerest.net> To: Andrew Chen <b93502044@ntu.edu.tw> Cc: freebsd-net@freebsd.org Subject: Re: Problems in using SCTP CMT Message-ID: <74A67587-66D0-41B2-84C6-BEC507918231@lakerest.net> In-Reply-To: <20090323182021.ysrn0ogu84cg084g@wmail1.cc.ntu.edu.tw> References: <20090323182021.ysrn0ogu84cg084g@wmail1.cc.ntu.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael and I have developed a fix here at the IETF. at least with pf=0 dac=1 and off=1 We will next test with pf.. I will commit the code to Head... I can also send you a 7.x version tarball.. not sure if it will compile (it will work for 7.1 I know for sure) Let me know if you want such a tar.. R On Mar 23, 2009, at 6: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" > ------------------------------ Randall Stewart 803-317-4952 (cell) 803-345-0391(direct)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74A67587-66D0-41B2-84C6-BEC507918231>