Hi,
I have experimented as follows...
tc qdisc add dev eth0 handle 1:0 root dsmark indices 64 set_tc_index
tc filter add dev eth0 parent 1:0 protocol ip prio 1 tcindex mask 0xfc shift 2
tc qdisc add dev eth0 parent 1:0 handle 2:0 cbq bandwidth 2Mbit allot 1514 cell 8
avpkt 1000 mpu 64
tc class add dev eth0 parent 2:0 classid 2:1 cbq bandwidth 2Mbit rate 1000Kbit avpkt
1000 prio 1
bounded isolated allot 1514 weight 1 maxburst 10 defmap 1
tc qdisc add dev eth0 parent 2:1 pfifo limit 5
tc filter add dev eth0 parent 2:0 protocol ip prio 1 handle 0x2e tcindex classid 2:1
pass_on
tc class add dev eth0 parent 2:0 classid 2:2 cbq bandwidth 2Mbit rate 1000Kbit avpkt
1000 prio 7
bounded isolated allot 1514 weight 1 maxburst 10 defmap 1
tc qdisc add dev eth0 parent 2:2 red limit 6KB min 1.4KB max 3.2KB burst 4 avpkt 1000
bandwidth
1Mbit probability 0.4
tc filter add dev eth0 parent 2:0 protocol ip prio 2 handle 0 tcindex mask 0 classid
2:2 pass_on
It's OK for IPv4...
But, it doesn't work for IPv6...
How should I change above scripts ?
Sincerely,
jhkim
N�����r��y���b�X��ǧv�^�){.n�+����{���b��^n�r���z���h����&��������y�