From: "Osgaldo Suanzes" <osgaldo@tiscali.es>
To: lartc@vger.kernel.org
Subject: [LARTC] 4 Users no Bandwidth Borrowing
Date: Wed, 21 May 2003 15:57:47 +0000 [thread overview]
Message-ID: <marc-lartc-105353280920742@msgid-missing> (raw)
Hi,
How can I assign 4 users bandwidth, and not allow them to borrow
bandwidth to others when someone is not using it?
As you see below I tried to assign each class the same ceil like its
rate,
It didnt worked. but Im not sure if this is the way to go..... Maybe I
did something wrong any ideas?
#tc qdisc del dev eth1 root
#tc qdisc add dev eth1 root handle 1: htb
#tc class add dev eth1 parent 1: classid 1:1 htb rate 100kbps ceil 100kbps
#tc class add dev eth1 parent 1:1 classid 1:10 htb rate 15kbps ceil 15kbps
#tc class add dev eth1 parent 1:1 classid 1:11 htb rate 25kbps ceil 25kbps
#tc class add dev eth1 parent 1:1 classid 1:12 htb rate 10ps ceil 10ps
#tc class add dev eth1 parent 1:1 classid 1:13 htb rate 50kbps ceil 50kbps
#tc filter add dev eth1 protocol ip parent 1:1 prio 1 u32 match ip src
10.3.0.2 flowid 1:10
#tc filter add dev eth1 protocol ip parent 1:1 prio 1 u32 match ip src
10.3.0.3 flowid 1:11
#tc filter add dev eth1 protocol ip parent 1:1 prio 1 u32 match ip src
10.3.0.4 flowid 1:12
#tc filter add dev eth1 protocol ip parent 1:1 prio 1 u32 match ip src
10.3.0.5 flowid 1:13
Regards Osgaldo.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-05-21 15:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-21 15:57 Osgaldo Suanzes [this message]
2003-05-21 17:12 ` [LARTC] 4 Users no Bandwidth Borrowing Stef Coene
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-105353280920742@msgid-missing \
--to=osgaldo@tiscali.es \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox