[LARTC] IFB replacemnt for IMQ

2007-10-28 Thread mihai cezar
Hello,
I want to use IFB instead of imq, but i don't know how to redirect traffic
from eth2.101 to ifb0 and traffic from eth1.301 to ifb1 so I can applied
QoS.
With IMQ i use iptables -j IMQ --to-dev 0.
Is it possible to apply tc rules on ifb1 both download/upload ?

thx
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] MAN

2007-10-28 Thread Gustavo Homem
Hi,

This is a very broad question as you have to plan not only the IP layer but 
also the underlying transport layer (SDH, ATM, Ethernet,). Maybe if you 
can narrow your question to more specific topics, someone will be able to 
help you.

Cheers
Gustavo

On Saturday 27 October 2007 20:07, Abdul Sanni wrote:
 Hello All,

 My nameis Abdul from Nigeria pls l need information on MAN, what the
 factors to be considered when planning for a metropolitan Area Network

-- 
Angulo Sólido - Tecnologias de Informação
http://angulosolido.pt
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] tc filter question

2007-10-28 Thread Daniel
Dear all,

I have big question in my mind about tc filter sintax. If I give tc -s -d 
filter sh dev eth0 command, then the output is like below :

filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 
0 flowid 1:2  (rule hit 21553629
 success 37907)
  match 0016/ at 20 (success 37907 )

...

My question is :
1. What is fh 800: and fh 800::800 mean ?
2. How I change the value 800 in fh 800::800 ? I'm guessing this is 
default value and I need to change that because my filter rule can be more 
than 0xfff line.

Thanks for all,

Daniel
PadiNet Makassar
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] tc filter question

2007-10-28 Thread Peter V. Saveliev
В сообщении от Sunday 28 October 2007 20:48:13 Daniel написал(а):
 Dear all,

 I have big question in my mind about tc filter sintax. If I give tc -s
 -d filter sh dev eth0 command, then the output is like below :

 filter parent 1: protocol ip pref 1 u32
 filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
 filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800
 bkt 0 flowid 1:2  (rule hit 21553629
  success 37907)
   match 0016/ at 20 (success 37907 )

 ...

 My question is :
 1. What is fh 800: and fh 800::800 mean ?
 2. How I change the value 800 in fh 800::800 ? I'm guessing this is
 default value and I need to change that because my filter rule can be more
 than 0xfff line.
skip /

There is a rather unclear howto chapter: 
http://lartc.org/howto/lartc.adv-filter.hashing.html

But it is very correct. Try it (actually, I understood it not from the first 
attempt ;))

-- 
Peter V. Saveliev
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] tc filter question

2007-10-28 Thread Andreas Mueller
Hi Daniel.

Daniel wrote:
 Dear all,
 
 I have big question in my mind about tc filter sintax. If I give tc -s -d 
 filter sh dev eth0 command, then the output is like below :
 
 filter parent 1: protocol ip pref 1 u32
 filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
 filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 
 0 flowid 1:2  (rule hit 21553629
  success 37907)
   match 0016/ at 20 (success 37907 )
 
 ...
 
 My question is :
 1. What is fh 800: and fh 800::800 mean ?
 2. How I change the value 800 in fh 800::800 ? I'm guessing this is 
 default value and I need to change that because my filter rule can be more 
 than 0xfff line.
Hi, that values are for the hash-tables of u32, see:
http://lartc.org/howto/lartc.adv-filter.hashing.html


 
 Thanks for all,
 
 Daniel
 PadiNet Makassar

Bye,
 Andreas.
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] tc filter question

2007-10-28 Thread Michal Soltys

Daniel wrote:


My question is :
1. What is fh 800: and fh 800::800 mean ?
2. How I change the value 800 in fh 800::800 ? I'm guessing this is 
default value and I need to change that because my filter rule can be more 
than 0xfff line.




Also check http://ace-host.stuart.id.au/russell/files/tc/doc/cls_u32.txt

Old howto misses a few important things.
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc