On Sun, 25 Feb 2007, Edgar Angelo V. Duro wrote:
Good morning, Thank you for your immediate reply but my question is about this loadbalancing setup. How do I implement this one? I'm trying to copy the server side and performed the following below, but I don't understand how I could control to set the source IP in sending INIT_ACK, COOKIE_ACK etc. Is there a socket option that I could use? sockfd = socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP); bind() <----- binded 218.40.33.101 sctp_bindx() <----- binded 192.168.13.101
No, src address in the INIT-ACK can't be controlled in Solaris SCTP, since SCTP sends the INIT-ACK by swapping the IP addresses from the incoming INIT. We do this because if the source address in the INIT-ACK is different from the destination address in the INIT, SCTP (on the INIT side) would have to look at the address parameter list in the INIT-ACK to locate the association. Solaris SCTP checks for this, but we cannot assume other implementations do so too. Would it be possible for you to sends us some detail on why this is an issue for you? -venu
This message posted from opensolaris.org _______________________________________________ networking-discuss mailing list [email protected]
_______________________________________________ networking-discuss mailing list [email protected]
