Multi-homing in SCTP of OpenSolaris10


 
Thread Tools Search this Thread
Operating Systems Solaris Multi-homing in SCTP of OpenSolaris10
# 1  
Old 02-02-2009
Bug Multi-homing in SCTP of OpenSolaris10

Hi,

I met a problem about multi-homing in SCTP of opensolaris10 system.

There is a server and a client communicating with SCTP socket (One-To-One style).

For the server, I bind two IP addresses (with different subclass) to the its socket .

For the client, two IP addresses are binded to client's socket, corresponding to server's addresses. Only one of them is used to be as the server address in connect() function since there is no API sctp_connectx() in solaris10.

I have no idea how can the multi-homing feature be used on solaris10?

I used SCTP_ASSOCINFO option to get a struct sctp_assocparams and its member sasoc_number_peer_destinations is 1.

The addresses returned from sctp_getladdrs() and sctp_getpaddrs() are the pairs used for connect().

I tried to trigger multi-homing feature by using SCTP_PRIMARY_ADDR option to change the primary address on client. But it seems that this option is not supported by solairs10. (both setsockopt() and sctp_opt_info())

For my comprehension, I think the two endpoints will negotiate the IP address set used for communication during initialization of association, even only one address is used for connection. After initialization, multi-addresses can be used.

I'm confused about this.

Could you please give me some comments?

Thanks a lot.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with reformat single-line multi-fasta into multi-line multi-fasta

Input File: >Seq1 ASDADAFASFASFADGSDGFSDFSDFSDFSDFSDFSDFSDFSDFSDFSDFSD >Seq2 SDASDAQEQWEQeqAdfaasd >Seq3 ASDSALGHIUDFJANCAGPATHLACJHPAUTYNJKG ...... Desired Output File >Seq1 ASDADAFASF ASFADGSDGF SDFSDFSDFS DFSDFSDFSD FSDFSDFSDF SD >Seq2 (4 Replies)
Discussion started by: patrick87
4 Replies

2. Programming

Multi head/multi window hello world

I am trying to write a large X app. I have successfully modified my xorg.conf to setup 4 monitors on an NVIDIA Quatro5200. I am trying to modify a simple hello world application to open a window on three of the four monitors. depending on the changes to loop the window creation section and event... (2 Replies)
Discussion started by: advorak
2 Replies

3. Programming

Sctp api name to retrieve the values of structure sctpassoctable

Hi i want a sctp (lksctp) api which can retrieve the values of the sctp structure "sctpAssocTable" It is sctpassoctable or sctpassocentry. SctpAssocEntry ::= SEQUENCE { sctpAssocId Unsigned32, sctpAssocRemHostName OCTET STRING, sctpAssocLocalPort ... (1 Reply)
Discussion started by: harioum
1 Replies

4. Shell Programming and Scripting

How to substract selective values in multi row, multi column file (using awk or sed?)

Hi, I have a problem where I need to make this input: nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b look like this output: nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
Discussion started by: nricardo
4 Replies

5. Shell Programming and Scripting

Multi-line filtering based on multi-line pattern in a file

I have a file with data records separated by multiple equals signs, as below. ========== RECORD 1 ========== RECORD 2 DATA LINE ========== RECORD 3 ========== RECORD 4 DATA LINE ========== RECORD 5 DATA LINE ========== I need to filter out all data from this file where the... (2 Replies)
Discussion started by: Finja
2 Replies

6. Solaris

Whats dual-homing interface?

Hi, Anyone please explain whats dual-homed interface on solaris? Thanks in advance.. (1 Reply)
Discussion started by: bpsunadm
1 Replies

7. UNIX for Advanced & Expert Users

connect problem for sctp socket (ipv6 socket) - Runtime fail Invalid Arguments

Hi, I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime. To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies

8. Red Hat

netstat: no support for `AF INET (sctp)' on this system.

hello I am using fedora core 6 on my system.... and doing coding of socket connection with redhat 9 when I am doing netstat -v command it shows error::: netstat: no support for `AF INET (sctp)' on this system. As AF_INET is very useful to me in socket connection program.... how to... (0 Replies)
Discussion started by: arunchaudhary19
0 Replies

9. UNIX for Dummies Questions & Answers

Multi User Multi Task

Dear Experts Why we always hear that unix operating system is Multi User and Multi task. What does these two means. I have looked at some books and documents but couldn't find aclear explenation. Can we say Windows operating system is also multi user and multi task?? Thanks for your help in... (6 Replies)
Discussion started by: Reza Nazarian
6 Replies

10. UNIX for Dummies Questions & Answers

multi-file multi-edit

Good day! I am trying to learn how to use the "sed" editor, to perform multiple edits on multiple files in multiple directories. I have one script that tries to call up each file and process it according to the edits listed in a second script. I am using a small input text to test these, at... (12 Replies)
Discussion started by: kielitaide
12 Replies
Login or Register to Ask a Question
SCTP_BINDX(3)						   BSD Library Functions Manual 					     SCTP_BINDX(3)

NAME
sctp_bindx -- bind or unbind an SCTP socket to a list of addresses. LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <sys/socket.h> #include <netinet/sctp.h> int sctp_bindx(int s, struct sockaddr *addrs, int num, int type); DESCRIPTION
The sctp_bindx() call binds or unbinds a address or a list of addresses to an SCTP endpoint. This allows a user to bind a subset of addresses. The sctp_bindx() call operates similarly to bind() but allows a list of addresses and also allows a bind or an unbind. The argu- ment s must be a valid SCTP socket descriptor. The argument addrs is a list of addresses (where the list may be only 1 in length) that the user wishes to bind or unbind to the socket. The argument type must be one of the following values. SCTP_BINDX_ADD_ADDR This value indicates that the listed address(es) need to be added to the endpoint. SCTP_BINDX_DEL_ADDR This value indicates that the listed address(es) need to be removed from the endpoint. Note that when a user adds or deletes an address to an association if the dynamic address flag net.inet.sctp.auto_asconf is enabled any asso- ciations in the endpoint will attempt to have the address(es) added dynamically to the existing association. RETURN VALUES
The call returns 0 on success and -1 upon failure. ERRORS
The sctp_bindx() function can return the following errors: [EINVAL] This value is returned if the type field is not one of the allowed values (see above). [ENOMEM] This value is returned if the number of addresses being added causes a memory allocation failure in the call. [EBADF] The argument s is not a valid descriptor. [ENOTSOCK] The argument s is not a socket. SEE ALSO
bind(2), sctp(4) BSD
December 15, 2006 BSD