Re: [LARTC] htb filter

2004-06-23 Thread Jason Boxman
On Wednesday 23 June 2004 01:57, Svetozar Mihailov wrote:
  Shouldn't this:
   tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio 10
 
  be parent 2:?
 
  Ed W

 That change nothing. I have running system with 800 PC , 4 classes for
 each. There is no difference for me in using parent 2: vs parent 2:0.
 Both give same result.

Exactly.  2: is simply a short hand for 2:0, for example.

-- 

Jason Boxman
Perl Programmer / *NIX Systems Administrator
Shimberg Center for Affordable Housing | University of Florida
http://edseek.com/ - Linux and FOSS stuff

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] htb filter

2004-06-22 Thread Ed Wildgoose
Shouldn't this:  

tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio 10

be parent 2:?
Ed W
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] htb filter on classes

2002-04-30 Thread Stef Coene

0On Tuesday 30 April 2002 01:11, [EMAIL PROTECTED] wrote:
 I am trying to do some simple filtering with htb and the following class
 hierarchy:

 1:

1:10
/  \
1:100  1:200
 /  \
 1:1000  ...

 Internal traffic should go to 1:200 and external traffic to 1:100 with
 further distinction based on dst ip made there.
 The problem is that I just don't get the second distinction (filter on
 class 1:100) right. I have not found any working example where filters were
 not attached to qdiscs but on classes instead. Is it possible to do so? If
 yes: am I using the right syntax (parent 1:100)?
The syntax is OK.  But I don't think htb can do this (yet).  Devik ?

Stef

-- 

[EMAIL PROTECTED]
 Using Linux as bandwidth manager
 http://www.docum.org/
 #lartc @ irc.openprojects.net
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/