freebsd - SCTP INIT failed -
i have 2 virtual machine, both installed freebsd 10 / i386 / generic kernel (the host centos 6.5 x86-64 kvm)
the first virtual machine named freetest0 , second freetest1
freetest0 = freebsd 10 / i386 / if vtnet2 192.168.6.100 freetest1 = freebsd 10 / i386 / if vtnet2 192.168.6.110
i want test speed between freetest(s) if. but, problem cannot connected sctp. tcp , udp well.
whatever use iperf3 (with sctp support) , netperfmeter, cannot connected sctp.
#the server freetest1 root@freetest1:~ # netstat -an -f inet active internet connections (including servers) proto recv-q send-q local address foreign address (state) tcp46 0 0 *.9000 *.* listen tcp4 0 0 192.168.0.110.22 192.168.0.1.39754 established tcp4 0 0 192.168.0.110.22 192.168.0.1.39752 established tcp4 0 0 127.0.0.1.25 *.* listen tcp4 0 0 *.22 *.* listen udp46 0 0 *.9000 *.* udp4 0 0 *.514 *.* active sctp associations (including servers) proto type local address foreign address (state) sctp46 1to1 fe80::5054:ff:fe.9000 listen 192.168.8.110.9000 fe80::5054:ff:fe.9000 192.168.6.110.9000 fe80::5054:ff:fe.9000 192.168.0.110.9000 127.0.0.1.9000 fe80::1.9000 ::1.9000 sctp46 1ton fe80::5054:ff:fe.9001 listen 192.168.8.110.9001 fe80::5054:ff:fe.9001 192.168.6.110.9001 fe80::5054:ff:fe.9001 192.168.0.110.9001 127.0.0.1.9001 fe80::1.9001 ::1.9001 root@freetest0:~ # netperfmeter 192.168.6.110:9000 network performance meter - version 1.0 --------------------------------------- active mode: - measurement id = 4bc75bae - remote address = 192.168.6.110:9000 - control address = 192.168.6.110:9001 - connecting ... #<cannot connected> root@freetest0:~ # tcpdump -i vtnet2 tcpdump: verbose output suppressed, use -v or -vv full protocol decode listening on vtnet2, link-type en10mb (ethernet), capture size 65535 bytes 14:11:03.839031 ip 192.168.6.100.55228 > 192.168.6.110.5201: flags [s], seq 1318388212, win 65535, options [mss 1460,nop,wscale 6,sackok,ts val 2652085 ecr 0], length 0 14:11:03.868787 ip 192.168.6.110.5201 > 192.168.6.100.55228: flags [r.], seq 0, ack 1318388213, win 0, length 0 14:11:35.235362 ip 192.168.6.100.52018 > 192.168.6.110.9001: sctp (1) [init] [init tag: 3995201801] [rwnd: 1864135] [os: 10] [mis: 2048] [init tsn: 332259025] 14:11:38.256378 ip 192.168.6.100.52018 > 192.168.6.110.9001: sctp (1) [init] [init tag: 3995201801] [rwnd: 1864135] [os: 10] [mis: 2048] [init tsn: 332259025] 14:11:40.256418 ip 192.168.6.100.52018 > 192.168.6.110.9001: sctp (1) [init] [init tag: 3995201801] [rwnd: 1864135] [os: 10] [mis: 2048] [init tsn: 332259025] 14:11:44.256099 ip 192.168.6.100.52018 > 192.168.6.110.9001: sctp (1) [init] [init tag: 3995201801] [rwnd: 1864135] [os: 10] [mis: 2048] [init tsn: 332259025] 14:11:52.254442 ip 192.168.6.100.52018 > 192.168.6.110.9001: sctp (1) [init] [init tag: 3995201801] [rwnd: 1864135] [os: 10] [mis: 2048] [init tsn: 332259025] root@freetest1:~ # tcpdump -i vtnet2 tcpdump: verbose output suppressed, use -v or -vv full protocol decode listening on vtnet2, link-type en10mb (ethernet), capture size 65535 bytes 14:11:35.979349 ip 192.168.6.100.52018 > 192.168.6.110.9001: sctp (1) [init] [init tag: 3995201801] [rwnd: 1864135] [os: 10] [mis: 2048] [init tsn: 332259025] 14:11:39.000411 ip 192.168.6.100.52018 > 192.168.6.110.9001: sctp (1) [init] [init tag: 3995201801] [rwnd: 1864135] [os: 10] [mis: 2048] [init tsn: 332259025] 14:11:41.000495 ip 192.168.6.100.52018 > 192.168.6.110.9001: sctp (1) [init] [init tag: 3995201801] [rwnd: 1864135] [os: 10] [mis: 2048] [init tsn: 332259025] 14:11:45.000116 ip 192.168.6.100.52018 > 192.168.6.110.9001: sctp (1) [init] [init tag: 3995201801] [rwnd: 1864135] [os: 10] [mis: 2048] [init tsn: 332259025] 14:11:52.998491 ip 192.168.6.100.52018 > 192.168.6.110.9001: sctp (1) [init] [init tag: 3995201801] [rwnd: 1864135] [os: 10] [mis: 2048] [init tsn: 332259025]
the answer checksum error after packet analysis.
Comments
Post a Comment