[lxc-users] sctp protocol in container of LXC/docker

WangMaple maple.feng.wang at hotmail.com
Fri Nov 28 10:11:08 UTC 2014


hello,
I'm using LXC to set up an application in container which will use sctp for communication. The network connection is fine, i can ping each other, but I run the sctp-test from lksctp_tools and met problem below:
[root at a2c771287273]#sctp_test -H 0 -P 250 -l
local:addr=0.0.0.0, port=250, family=2 seed = 1417166664Starting tests... socket(SOCK_SEQPACKET, IPPROTO_SCTP)    *** socket: failed to create socket:  Address family not supported by protocol ***
i did a little google and found out reason from post in lxc mailing list that it's because the kernel doesn't support sctp protocol in linux container. for details, please refer to post below:
https://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg03826.html
But it was two years ago, I'm wondering if it's supported by kernel now. the version of kernel i'm using is 2.6.32-431.29.2.el6.x86_64, do i need to use other kernel? or anyone of you met same problem as me and happen to have some workaround here?
Thanks in advance. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20141128/c1245682/attachment.html>


More information about the lxc-users mailing list