* [LARTC] htb prioritise trafic
@ 2006-08-22 5:27 Adorean Alexandru Raul
2006-08-22 17:23 ` Luciano Ruete
0 siblings, 1 reply; 2+ messages in thread
From: Adorean Alexandru Raul @ 2006-08-22 5:27 UTC (permalink / raw)
To: lartc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] htb prioritise trafic
2006-08-22 5:27 [LARTC] htb prioritise trafic Adorean Alexandru Raul
@ 2006-08-22 17:23 ` Luciano Ruete
0 siblings, 0 replies; 2+ messages in thread
From: Luciano Ruete @ 2006-08-22 17:23 UTC (permalink / raw)
To: lartc
On Tuesday 22 August 2006 02:27, Adorean Alexandru Raul wrote:
> 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.
htb-gen[1] does exactly that, in a per-client basis and you can customize what
is prio and what is not. And of course all gets automated.
[1]http://freshmeat.net/projects/htb-gen/
PS: There is a new version comming(with lot of improbs)... but in a few weeks.
--
Luciano
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-22 17:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-22 5:27 [LARTC] htb prioritise trafic Adorean Alexandru Raul
2006-08-22 17:23 ` Luciano Ruete
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.