All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] filter add to which of class
@ 2002-07-04  8:22 hanhbnetfilter
  2002-07-04 14:54 ` bert hubert
  0 siblings, 1 reply; 2+ messages in thread
From: hanhbnetfilter @ 2002-07-04  8:22 UTC (permalink / raw)
  To: lartc

htb was used to control traffic
stuctrul is like that(default is 1:20):

              |----1:100 
   |------1:10|
1:1|          |____1:110 
   |
   |------1:20

#AC="tc filter add dev eth0 protocol ip parent 1:0
prio 1"
#$AC u32 match u32 0xac100b00 ffffff00 at 16 flowid
1:10
#$AC u32 match u32 0xac100b01 ffffffff at 16 flowid
1:100
I copy a file to 172.16.11.1
class 1:100 go into effect.
I copy a file to 172.16.11.2
class 1:10 did not go into effect
but class 1:20  take effect.
if a class has sub class, can the filter be added to
this class?





_________________________________________________________
Do You Yahoo!? 
银行巨头聚会中原 大浪淘‘金’谁将笑傲
http://sweepstakes.yahoo.com/bank_surveywave2/
_______________________________________________
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] filter add to which of class
  2002-07-04  8:22 [LARTC] filter add to which of class hanhbnetfilter
@ 2002-07-04 14:54 ` bert hubert
  0 siblings, 0 replies; 2+ messages in thread
From: bert hubert @ 2002-07-04 14:54 UTC (permalink / raw)
  To: lartc

On Thu, Jul 04, 2002 at 04:22:08PM +0800, hanhbnetfilter wrote:
> htb was used to control traffic
> stuctrul is like that(default is 1:20):
> 
>               |----1:100 
>    |------1:10|
> 1:1|          |____1:110 
>    |
>    |------1:20
> 
> #AC="tc filter add dev eth0 protocol ip parent 1:0
> prio 1"
> #$AC u32 match u32 0xac100b00 ffffff00 at 16 flowid
> 1:10
> #$AC u32 match u32 0xac100b01 ffffffff at 16 flowid
> 1:100
> I copy a file to 172.16.11.1
> class 1:100 go into effect.
> I copy a file to 172.16.11.2
> class 1:10 did not go into effect
> but class 1:20  take effect.
> if a class has sub class, can the filter be added to
> this class?

With recent versions of htb, yes.

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
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-07-04 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-04  8:22 [LARTC] filter add to which of class hanhbnetfilter
2002-07-04 14:54 ` bert hubert

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.