SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] echo_server and IPv6


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: Le Vinh Dat <vinhdat82 AT yahoo.com>
  • Cc: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] echo_server and IPv6
  • Date: Sat Jul 10 22:57:01 2004
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi,

please note that you have to run

./configure
make clean all

after you have run

insmod ipv6

Then the sctplib is compiled with IPv6 support.

It looks like you are using sctplib binaries which
have not the IPv6 support compiled in.

Best regards
Michael

On Jul 10, 2004, at 5:09 AM, Le Vinh Dat wrote:

Dear SCTP mommunity,
I found a trouble when trying to run echo_server with
IPv6.

My SCTP combination is: Redhat 9 kernel 2.4.20-31.9 ,
sctplib-1.0.1, socketapi-1.3.1.

I can run SCTP with IPv4 (thanks Andreas for your
helping :) )
[root@dhcppc2 programs]# ./echo_server -i -V -s
127.0.0.1
1 : Communication up (10 In-Streams, 10
Out-Streams)
1 : Network status change: path 0 is now
CONFIRMED
1 : Data arrived (11 bytes on stream 0, ordered)

[root@dhcppc2 programs]# ./terminal -i -V -s 127.0.0.1
-d 127.0.0.1
1 : Communication up (1 paths, 10 In-Streams, 10
Out-Streams)
1 : Network status change: path 0 is now
CONFIRMED
Hello SCTP
1 : Data arrived (11 bytes on stream 0, ordered)
Hello SCTP

However, I'm unable to run echo_server with IPv6
although my IPv6 is enable.
//================================
[root@dhcppc2 root]# ifconfig
eth0 Link encap:Ethernet HWaddr
00:06:1B:D2:CB:E5
inet addr:172.10.0.3 Bcast:172.10.0.255
Mask:255.255.255.0
inet6 addr: fe80::206:1bff:fed2:cbe5/64
Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:1850 errors:0 dropped:0
overruns:0 frame:0
TX packets:1659 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1224485 (1.1 Mb) TX bytes:254064
(248.1 Kb)
Interrupt:11 Base address:0x8000
Memory:c0201000-c0201038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10828 errors:0 dropped:0
overruns:0 frame:0
TX packets:10828 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:738964 (721.6 Kb) TX bytes:738964
(721.6 Kb)
//=======================
[root@dhcppc2 programs]# ping6 -I eth0 ::1
PING ::1(::1) from ::1 eth0: 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.029 ms
64 bytes from ::1: icmp_seq=3 ttl=64 time=0.028 ms
//=======================
[root@dhcppc2 programs]# ping6 -I eth0
fe80::206:1bff:fed2:cbe5
PING
fe80::206:1bff:fed2:cbe5(fe80::206:1bff:fed2:cbe5)
from ::1 eth0: 56 data bytes
64 bytes from fe80::206:1bff:fed2:cbe5: icmp_seq=1
ttl=64 time=0.035 ms
64 bytes from fe80::206:1bff:fed2:cbe5: icmp_seq=2
ttl=64 time=0.029 ms
64 bytes from fe80::206:1bff:fed2:cbe5: icmp_seq=3
ttl=64 time=0.031 ms
//=======================

When I tried to run echo_server and terminal, they
said:
[root@dhcppc2 programs]# ./echo_server -i -V -s ::1
sctp_registerInstance: an error occured.
[root@dhcppc2 programs]# ./terminal -i -V -s ::1 -d
::1
sctp_registerInstance: an error occured.

[root@dhcppc2 programs]# ./echo_server -i -V -s
fe80::206:1bff:fed2:cbe5
sctp_registerInstance: an error occured.
[root@dhcppc2 programs]# ./terminal -i -V -s
fe80::206:1bff:fed2:cbe5 -d fe80::206:1bff:fed2:cbe5
sctp_registerInstance: an error occured.

Anyone can help me?
Thank you very much.

Sincerely yours,
Vinh Dat




__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion






Archive powered by MHonArc 2.6.19+.

Top of page