SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Re: Multihoming


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: Jeff McDonald <kinggori AT msn.com>
  • Cc: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] Re: Multihoming
  • Date: Fri Mar 24 21:40:50 2006
  • List-id: SCTP Discussions <discussion.sctp.de>

See my comments in-line...


On Mar 24, 2006, at 5:02 AM, Jeff McDonald wrote:

Thanks for your reply Michael,

here are the masks:
Server:
eth0: inet addr:192.168.1.106 Bcast:192.168.1.255 Mask:255.255.255.0
eth1: inet addr:192.168.0.109 Bcast:192.168.0.255 Mask:255.255.255.0

Client:
eth0: inet addr:192.168.1.106 Bcast:192.168.1.255 Mask:255.255.255.0
The last email said
192.168.0.106
eth1: inet addr:192.168.1.105 Bcast:192.168.1.255 Mask: 255.255.255.0


The problem doesn't seem to be with the network connections.
- I can ping the different addresses with no problem.
- I can also use both of the client's addresses to connect to the server e.g:

If I type in the client:
[root@localhost cppsocket_programs]# ./sctpterminal - local=192.168.0.106 -local=192.168.1.105 192.168.1.106:echo 192.168.0.109:echo

the server connects to 192.168.0.106

but if i type in the client:
[root@localhost cppsocket_programs]# ./sctpterminal - local=192.168.1.105 -local=192.168.0.106 192.168.1.106:echo 192.168.0.109:echo

the server connects to 192.168.1.105


I think the problem has to do with the server's error:
Error Info: 20:11:30.493 - Tie tags zero in state 3, local: 0, peer: 0
--> Restart ?
Can you provide ethereal traces (libpcap format) at all four interfaces? I'm
really surprised that this does not work for you and still think that it
is not a problem with the sctplib...
Please send the traces not to the list, only to me...

Regards,
Jeff



From: Michael Tuexen
<Michael.Tuexen AT micmac.franken.de>
To: Jeff McDonald
<kinggori AT msn.com>
CC:
discussion AT sctp.de
Subject: Re: [SCTP-Discussion] Re: Multihoming
Date: Thu, 23 Mar 2006 22:31:01 +0100

They should be printed by
ifconfig

Can you ping the different addresses and do the ICMP packets use the
appropriate interface?

Best regards
Michael

On Mar 23, 2006, at 10:00 PM, Jeff McDonald wrote:

Hi Michael,

I have two network interfaces at the client side and two network interfaces on the server side.

The client has two unique IP addresses each from a different network interface
192.168.1.105
192.168.0.106

and the server has two unique IP addresses as well:
192.168.1.106
192.168.0.109

I'm not sure what my netmask is. How do I find out?

Regards,
Jeff


From: Michael Tuexen
<Michael.Tuexen AT micmac.franken.de>
To: Jeff McDonald
<kinggori AT msn.com>
CC:
discussion AT sctp.de
Subject: [SCTP-Discussion] Re: Multihoming
Date: Thu, 23 Mar 2006 20:35:41 +0100

How many interfaces do you have? What are the netmasks?

Best regards
Michael

On Mar 23, 2006, at 6:08 PM, Jeff McDonald wrote:

HI MIchael,

Thanks for your previous replies. I started using the socket api instead and it's much easier to run client and server. I'm trying to test multihoming though and I can't seem to get ir running.
My client and server are running on different machines.
I'm connected to two different Networks.
Here is what happens:

[root@localhost cppsocket_programs]# ./sctpmultiserver - local=192.168.1.106 -local=192.168.0.109
SCTP Multi Server - Copyright (C) 2001-2003 Thomas Dreibholz
------------------------------------------------------------
Version: Mar 20 2006, 16:14:52
Local Addresses: 192.168.1.106
192.168.0.109
Max Incoming: 128
Max Outgoing: 128
Unreliable: 0


Error Info: 17:59:14.781 - sctp_getAssocDefaults : Did not find Instance Number 0
Error Info: 17:59:14.858 - sctp_getAssocDefaults : Did not find Instance Number 0
Error Info: 17:59:14.890 - sctp_getAssocDefaults : Did not find Instance Number 0
Error Info: 17:59:14.905 - sctp_getAssocDefaults : Did not find Instance Number 0
Error Info: 17:59:14.921 - sctp_getAssocDefaults : Did not find Instance Number 0
Error Info: 17:59:14.936 - sctp_getAssocDefaults : Did not find Instance Number 0


---- The server is running normally so in the client i type:

[root@localhost cppsocket_programs]# ./sctpterminal 192.168.1.106:echo 192.168.0.109:echo -in=2 -out=2
SCTP Terminal - Copyright (C) 2001-2003 Thomas Dreibholz
--------------------------------------------------------
Version: Feb 24 2006, 08:54:01
Local Addresses: ::1
fe80::20c:29ff:fe40:e4b3
fe80::20c:29ff:fe40:e4a9
127.0.0.1
192.168.1.105
192.168.0.106
Remote Addresses: 192.168.1.106:7
192.168.0.109
Outgoing Streams: 2
Max. Incoming Streams: 2
Unreliable: 0


Connecting... done. Use Ctrl-D to end transmission.

----- Now the server displays:

Error Info: 18:07:59.008 - mdi_readSCTP_control: association not set
Error Info: 18:07:59.013 - mdi_readSCTP_control: association not set
Error Info: 18:07:59.014 - sci_getCookieLifeTime(): read SCTP- control failed
Error Info: 18:07:59.020 - mdi_readRX_control: association not set
Error Info: 18:07:59.021 - rxc_buffer instance not set !
Error Info: 18:07:59.022 - mdi_readSCTP_control: association not set
Error Info: 18:07:59.035 - mdi_readSCTP_control: association not set
Error Info: 18:07:59.035 - sci_getCookieLifeTime(): read SCTP- control failed
Error Info: 18:07:59.038 - mdi_readRX_control: association not set
Error Info: 18:07:59.039 - rxc_buffer instance not set !
Error Info: 18:07:59.048 - mdi_readLocalTag: association not set
Error Info: 18:07:59.049 - mdi_readAssociationID: association not set
Error Info: 18:07:59.049 - mdi_readSCTP_control: association not set
21-Mar-2006 18:07:59.1564: Accepted association from 192.168.1.105:16687 to Echo server.

------ The client and server can now communicate but only via one connection (192.168.1.105) and not the other one.

Why isn't multihoimg working here? I'm sorry for asking so many question. I really appreciate your effort and time

Thanks,
Jeff




_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion




_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion








Archive powered by MHonArc 2.6.19+.

Top of page