* [LARTC] htb class!!! attaching
@ 2002-10-09 15:54 Nickola Kolev
2002-10-09 16:55 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: Nickola Kolev @ 2002-10-09 15:54 UTC (permalink / raw)
To: lartc
Of course, the example given was my mistake. Anyway, consider these two:
Number 1
# Level 2 - Servers Class
$tc class add dev $dev parent $ROOT_CLASS classid $SERVER_CLASS htb \
rate $SERVER_GARAN ceil $SERVER_MAX
$tc filter add dev $dev protocol ip parent $SERVER_CLASS prio $SERVER_PRIO u32 \
match ip dst 192.168.1.0/26 flowid $SERVER_CLASS
# Level 2 - End Servers Class
And number 2:
# Level 2 - Servers Class
$tc class add dev $dev parent $ROOT_CLASS classid $SERVER_CLASS htb \
rate $SERVER_GARAN ceil $SERVER_MAX
$tc filter add dev $dev protocol ip parent $ROOT_CLASS prio $SERVER_PRIO u32 \
match ip dst 192.168.1.0/26 flowid $SERVER_CLASS
# Level 2 - End Servers Class
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] htb class!!! attaching
2002-10-09 15:54 [LARTC] htb class!!! attaching Nickola Kolev
@ 2002-10-09 16:55 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2002-10-09 16:55 UTC (permalink / raw)
To: lartc
On Wednesday 09 October 2002 17:54, Nickola Kolev wrote:
> Of course, the example given was my mistake. Anyway, consider these two:
>
> Number 1
> # Level 2 - Servers Class
> $tc class add dev $dev parent $ROOT_CLASS classid $SERVER_CLASS htb \
> rate $SERVER_GARAN ceil $SERVER_MAX
> $tc filter add dev $dev protocol ip parent $SERVER_CLASS prio $SERVER_PRIO
> u32 \ match ip dst 192.168.1.0/26 flowid $SERVER_CLASS
> # Level 2 - End Servers Class
>
>
> And number 2:
>
>
> # Level 2 - Servers Class
> $tc class add dev $dev parent $ROOT_CLASS classid $SERVER_CLASS htb \
> rate $SERVER_GARAN ceil $SERVER_MAX
> $tc filter add dev $dev protocol ip parent $ROOT_CLASS prio $SERVER_PRIO
> u32 \ match ip dst 192.168.1.0/26 flowid $SERVER_CLASS
> # Level 2 - End Servers Class
You have to add the filter to the class where you want to split the traffic,
so number 2.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-09 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-09 15:54 [LARTC] htb class!!! attaching Nickola Kolev
2002-10-09 16:55 ` Stef Coene
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.