Hi all,
I have a problem with registering a route classifier on eth0.
Using Kernel version 2.2.5-15 with iproute2-current.tar.gz (Sun May 30)
The script is like this:
tc qdisc add dev eth0 root handle 1: cbq bandwidth 100Mbit allot \
1514 cell 8 avpkt 1000 mpu 64
tc class add dev eth0 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 eth0 parent 1:0 classid 1:2 cbq bandwidth 100Mbit\
70Mbit allot 1514 cell 8 weight 700Kbit prio 5 maxburst 20 avpkt 1000\
bounded isolated
tc filter add dev eth0 parent 1:0 prottocol ip prio 100 route \
ip route add 10.1.1.3 via 10.1.1.1 flow 1:2
It says
ip: flow is invalid inet prefix
My aim is to allocate different download speeds based on their IP (though
I have shown just one here)
Where am I going wrong? Is there any other alternative to _flow_
through which I can register a filter to a class / qdisc. Also can some
throw light on what 'defmap' option is for?
Thanks in advance for your help,
-Kishore
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]