From: raptor <raptor@tvskat.net>
To: lartc@vger.kernel.org
Subject: [LARTC] [tcng] exceeding child bandwith only in special cases ?
Date: Wed, 16 Oct 2002 11:39:29 +0000 [thread overview]
Message-ID: <marc-lartc-103476836916133@msgid-missing> (raw)
I was rereading tcng docs... and think i found a possible solution to a scenario i want to implement...i.e.
I want to create channel with rate 64kb/s but be able to jump to 128kb/s if the traffic is destinated to the proxy server... (all other traffic must not exceed 64kb/s)... pseudo-code :
{...
if src = 192.168.0.1 {
if dst = 192.168.0.15 and class1 has-no-bandwith-available
{ class1(rate 64kbps) }
else{ class2(rate 64kbps) }
} else class1(rate 64kbps)
...
}
i.e only when class1 bandwith is exausted and the traffic is destinated to proxy give another 64kb/s. (if not exhausted use it, if exausted but not destinated to proxy then sorry)
I know that it can possibly be achieved with the Metering primitives, but can figure it out yet.. could u help me..
One other question in this case should classes be parent and child i.e.:
class2(rate 128) {
class1(rate 64)
}
or siblings :
class1(rate 64) {}
class2(rate 64) {}
which seems more apropriate for the case...
Thanx alot
raptor
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2002-10-16 11:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-16 11:39 raptor [this message]
2002-10-16 14:42 ` [LARTC] [tcng] exceeding child bandwith only in special cases ? Werner Almesberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-103476836916133@msgid-missing \
--to=raptor@tvskat.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.