Hello all ,
I was just trying to configure my m/c according to setup
given in " iproute2/examples/diffserv/afcbq" . I've some questions regarding
this setup ---
Q1. I'm unable to understand why filters are mapping to classid 's which
are never created. ?
# --- AF Class 1 specific setup---
/usr/local/iproute2/tc/tc class add dev eth0 parent 2:0 classid 2:1 cbq bandwidth
10Mbit rate 1500Kbit avpkt 1000 prio 5 bounded allot 1514 weight 1 maxburst 21
/usr/local/iproute2/tc/tc filter add dev eth0 parent 2:0 protocol ip prio 1 handle 1
tcindex classid 2:1
/usr/local/iproute2/tc/tc qdisc add dev eth0 parent 2:1 gred setup DPs 3 default 2 grio
# --- AF Class 1 DP 1---
/usr/local/iproute2/tc/tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 10
tcindex classid 1:111
/usr/local/iproute2/tc/tc qdisc change dev eth0 parent 2:1 gred limit 60KB min 15KB
max 45KB burst 20 avpkt 1000 bandwidth 10Mbit DP 1 probability 0.02 prio 2
Q2. How is the bandwidth shared among the virtual Queues
corresponding to a particular AF Class. ?
Q3. what is the use of "change" in Qdisc required ? Isn't this overwriting
the previous setup everytime .
waiting for a prompt reply
Thanx and Regards
Upma
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]