[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ip route problem



I am having problems mapping my cbq flow (flow 1:2) to a route --

$IP route add 192.168.34.254/24 dev $DEV flow 1:2
ip: flow is invalid inet prefix

All the "tc" commands in my script previous to this ip route 
command worked fine.  Please help.
My entire script follows below.

Thanks,
Rose Tsang
========================================
$TC qdisc add dev $DEV root handle 1: cbq bandwidth 100Mbit allot 1514 \
cell 8 avpkt 1000 mpu 64

$TC class add dev $DEV parent 1:0 classid 1:1 cbq bandwidth 100Mbit \
rate 100Mbit allot 1514 cell 8 weight 1Mbit prio 8 maxburst 20 avpkt 1000

$TC class add dev $DEV parent 1:1 classid 1:2 cbq bandwidth 100Mbit \
rate 1Mbit avpkt 1000 prio 5 bounded allot 1514 weight 1 maxburst 21

$TC filter add dev $DEV parent 1:0 protocol ip prio 100 route

$IP route add 192.168.34.254/24 dev $DEV flow 1:2
ip: flow is invalid inet prefix