search for: ipt_cmd

Displaying 1 result from an estimated 1 matches for "ipt_cmd".

Did you mean: inst_cmd
2004 Nov 22
0
Testing if tc works as configured and shaping rtp traffic
...p and rtcp traffic. I searched a solution for it a lot but nothing came up. Any way I can mark rtp traffic so that it can be redirected to a qdisc? thanks and regards, raj -- #!/bin/sh # eth0 in, eth1 out TCQDSK_CMD="tc qdisc add dev eth1" TCCLAS_CMD="tc class add dev eth1" IPT_CMD="iptables -t mangle -A POSTROUTING -o eth1" $TCQDSK_CMD root handle 1: htb default 12 $TCCLAS_CMD parent 1: classid 1:1 htb rate 20mbit ceil 20mbit $TCCLAS_CMD parent 1:1 classid 1:10 htb rate 2mbit ceil 2mbit prio 1 $TCCLAS_CMD parent 1:1 classid 1:11 htb rate 16mbit ceil 20mbit prio 2...