Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2009 18:20:21 +0800
From:      Andrew Chen <b93502044@ntu.edu.tw>
To:        freebsd-net@freebsd.org
Subject:   Problems in using SCTP CMT
Message-ID:  <20090323182021.ysrn0ogu84cg084g@wmail1.cc.ntu.edu.tw>

next in thread | raw e-mail | index | archive | help

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090323182021.ysrn0ogu84cg084g>