Hi Everybody!
I need help! I'm doing a tc
script with tc filters that have match the Type of Service field in the IP
header. This is the script I am using to setup the filters.
tc filter add dev $DEV parent 1: protocol ip prio $PRIO_CONTROL u32 match ip protocol 6 0xff \ match u32 00190000 00ff0000 at 0 flowid 1:10
tc filter add dev $DEV protocol ip parent 1: prio $PRIO_VIDEO u32 match ip protocol 17 0xff \ match u32 001b0000 00ff0000 at 0 \ police rate ${VIDEO_LEVEL_0_BW}kbit buffer ${VIDEO_BUFFER}k drop flowid 1:13
tc filter add dev $DEV protocol ip parent 1: prio $PRIO_VIDEO u32 match ip protocol 17 0xff \ match u32 000b0000 00ff0000 at 0 \ police rate ${VIDEO_LEVEL_1_BW}kbit buffer ${VIDEO_BUFFER}k drop flowid 1:14
tc filter add dev $DEV protocol ip parent 1: prio $PRIO_VIDEO u32 match ip protocol 17 0xff \ match u32 00130000 00ff0000 at 0 \ police rate ${VIDEO_LEVEL_2_BW}kbit buffer ${VIDEO_BUFFER}k drop flowid 1:15
tc filter add dev $DEV protocol ip parent 1: prio $PRIO_VIDEO u32 match ip protocol 17 0xff \ match u32 00030000 00ff0000 at 0 \ police rate ${VIDEO_LEVEL_3_BW}kbit buffer ${VIDEO_BUFFER}k drop flowid 1:16
Please, if someone could help me, I will be so glad! The role script is the file attached Thanks a lot Luciana |
Attachment:
router_qos_script.sh
Description: Binary data
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc