All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Not bounded but almost....
@ 2001-09-27  7:12 Torbjörn Eklöv
  0 siblings, 0 replies; only message in thread
From: Torbjörn Eklöv @ 2001-09-27  7:12 UTC (permalink / raw)
  To: lartc

Hi, I have a question about CBQ and wonder if I can make a class that are 
guaranteed 2Mbit but can borrow excess bandwith and only to specific rate.
In my exampel below I want to guarantee the network x.x.x.x/y 2Mbit and 
they can borrow up to MAX 4Mbit.
I have tried to create subclasses but it only works like bounded or not.

# tc qdisc add dev eth0 root handle 10: cbq bandwidth 10Mbit avpkt 1000 
cell 8 mpu 64 
# tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10Mbit rate 
10Mbit weight 1Mbit \
prio 8 allot 1514  maxburst 20 avpkt 1000
# tc class add dev eth0 parent 10:1 classid 10:200 cbq bandwidth 10Mbit 
rate 2048Kbit weight \
200Kbit prio 5 allot 1514  maxburst 20 avpkt 1000 "not bounded but max 
4Mbit" <------------------
# tc qdisc add dev eth0 parent 10:1 sfq quantum 1514b perturb 8
# tc filter add dev eth0 parent 10:0 protocol ip prio 5 u32 match ip src 
x.x.x.x/y flowid 10:200


Regards, Tobbe Eklov
Interlan Sweden


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-27  7:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-27  7:12 [LARTC] Not bounded but almost Torbjörn Eklöv

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.