From: Adorean Alexandru Raul <araul@adonet.ro>
To: lartc@vger.kernel.org
Subject: [LARTC] htb prioritise trafic
Date: Tue, 22 Aug 2006 05:27:31 +0000 [thread overview]
Message-ID: <44EA95C3.2090100@adonet.ro> (raw)
I have a router with about 300 clients connecting to it. It has htb with
a class per client.
I wnat to create a script to prioritise www trafic and ssh trafic over
p2p trafic....
this is a sample of what i have now:
/sbin/tc class add dev eth0 parent 1:5 classid 1:8012 htb rate 35Kbit
ceil 281Kbit prio 6
/sbin/tc qdisc add dev eth0 parent 1:8012 handle 8012 sfq perturb 8
/sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip
src 81.181.180.21 classid 1:8012
/sbin/tc class add dev eth1 parent 1:5 classid 1:8012 htb rate 35Kbit
ceil 281Kbit prio 6
/sbin/tc qdisc add dev eth1 parent 1:8012 handle 8012 sfq perturb 8
/sbin/tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip
dst 81.181.180.21 classid 1:8012
this is one client.
I found something on wiki.lug.ro but i could not adapt it to my neads.
Thank you for your time.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2006-08-22 5:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-22 5:27 Adorean Alexandru Raul [this message]
2006-08-22 17:23 ` [LARTC] htb prioritise trafic Luciano Ruete
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=44EA95C3.2090100@adonet.ro \
--to=araul@adonet.ro \
--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.