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.
--
PowerDNS.com Versatile DNS Software & Services
tk the dot in .tk
lartc.org Linux Advanced Routing & Traffic Control HOWTO