Ashfaat / iperf

Automatically exported from code.google.com/p/iperf
Other
0 stars 0 forks source link

DSCP/TOS support for iperf 3.0-BETA5 version #152

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Sorry for Spam, I could not get access to correct site 
https://github.com/esnet/iperf/issues
hence raising issue here... very sorry for that.... 

What steps will reproduce the problem?
1. Install iperf3.0 beta5 onto Redhat Linux system
2. Make a LTE call with IPV6 PDN type(so UE IP is IPV6)
3. Now send packets using iperf3 to UE IP with DSP marking as AF21 using below 
command
 ./iperf3 -6 -c 1234::9:0:0:1ceb:e0b0 -S 0x48
or
./iperf3 -6 -c 1234::9:0:0:1ceb:e0b0 -S 72

Check the DSCP value in TCPDUMP and observed as BE instead as AF21

14:02:24.388687 IP (tos 0x0, ttl  64, id 10202, offset 0, flags [DF], proto: 
TCP (6), length: 60) 20.1.1.35.44693 > 204.1.0.10.cslistener: S, cksum 0x15f3 
(correct), 2081169547:2081169547(0) win 5840 <mss 1460,sackOK,timestamp 
3295020881 0,nop,wscale 8>
        0x0000:  f4d9 fb27 9947 001b 219f be8d 0800 4500  ...'.G..!.....E.
        0x0010:  003c 27da 4000 4006 31b3 1401 0123 cc01  .<'.@.@.1....#..
        0x0020:  000a ae95 2328 7c0c 208b 0000 0000 a002  ....#(|.........
        0x0030:  16d0 15f3 0000 0204 05b4 0402 080a c466  ...............f
        0x0040:  0751 0000 0000 0103 0308                 .Q........
14:02:27.388612 IP (tos 0x0, ttl  64, id 10203, offset 0, flags [DF], proto: 
TCP (6), length: 60) 20.1.1.35.44693 > 204.1.0.10.cslistener: S, cksum 0x0a3b 
(correct), 2081169547:2081169547(0) win 5840 <mss 1460,sackOK,timestamp 
3295023881 0,nop,wscale 8>
        0x0000:  f4d9 fb27 9947 001b 219f be8d 0800 4500  ...'.G..!.....E.
        0x0010:  003c 27db 4000 4006 31b2 1401 0123 cc01  .<'.@.@.1....#..
        0x0020:  000a ae95 2328 7c0c 208b 0000 0000 a002  ....#(|.........
        0x0030:  16d0 0a3b 0000 0204 05b4 0402 080a c466  ...;...........f
        0x0040:  1309 0000 0000 0103 0308                 ..........

What is the expected output? What do you see instead?
DSCP value of packets should be AF21 instead as BE is observed

What version of the product are you using? On what operating system?
iperf version 3.0-BETA5 (28 March 2013)

Please provide any additional information below.

Original issue reported on code.google.com by praveent...@gmail.com on 3 May 2014 at 6:45

GoogleCodeExporter commented 8 years ago
Yes , I am also observing same issue.. please address the issue with priority

Original comment by sureshku...@gmail.com on 3 May 2014 at 6:47