questions regarding TC configuration
Hi everybody,
I am new here on this forum, having a problem with Traffic control configuration. Would be great if someone could help me. Sadly have no experience with scripting:
Here is the problem:
#skript beginning:
BANDWIDTH1=1000mbps
DELAY11=1
PACKETLOSS11=0
tc qdisc del dev eth2 root
tc qdisc add dev eth2 root handle 1: htb default 12
tc class add dev eth2 parent 1:1 classid 1:12 htb rate $BANDWIDTH1
tc qdisc add dev eth2 parent 1:12 netem delay $DELAY11
#script end
My problem is I need also for testing purposes packet loss. Have absolute no glue how I can add the line that this is activated too. The script above is working well for itself, but only for itself.
Would be great if somebody knows what I have to change/add
Best regards
Michael
|