* Getting "OUT OF ORDER" error
@ 2017-08-28 13:43 pradeep
0 siblings, 0 replies; only message in thread
From: pradeep @ 2017-08-28 13:43 UTC (permalink / raw)
To: netfilter
Hello,
I'm facing out of sequence errors, when I transmit traffic
from source to destination through my netem configured box(router).
I want to emulate delay by filtering traffic based on SRCIP and DESTIP
Below is my setup
+-----+ +-----+ +-----+
| | iface1---------eth0 | | eth1------------iface2| |
+-----+ +-----+ +-----+
source netem configured box(router) destination
iface1 ip: 10.0.0.10 gw 10.0.0.1
iface2 ip: 20.0.0.10 gw 20.0.0.1
eth0 : 10.0.0.1
eth2 : 20.0.0.1
Below are the commands i used on eth0 and eth1 to emulate delay
tc qdisc add dev INFACE root handle 1: htb default 10
tc class add dev INFACE parent 1: classid 1:1 htb rate $RATE ceil
10000mbit
tc class add dev INFACE parent 1:1 classid 1:11 htb rate $RATE ceil
10000mbit
tc qdisc add dev INFACE parent 1:11 handle 11:0 netem delay 10ms
limit 100000
IFACE: eth0 and eth1
Below command is to filter the traffic
iptables -t mangle -A POSTROUTING -s 10.0.0.10 -d 20.0.0.10 -j
CLASSIFY --set-class 1:11
when i send traffic through iperf3 from source to destination it
applies the desired delay, but with OUT OF ORDER errors
iperf3 commands:
source
iperf3 -c 20.0.0.10 -i 1 -u -b 10g (sending traffic)
destination
iperf3 -s (reciving out of order errors)
Note: I'm using 10g NIC
Let me if im doing anything wrong.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-28 13:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28 13:43 Getting "OUT OF ORDER" error pradeep
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.