[LARTC] multiple IFBs

2006-08-31 Thread Leigh Sharpe



Hi 
all,
Further to my 
previous questions, I need lots of IFBs on this thing.
 I have 
configured IFB as a module, and issuing a modprobe ifb loads it, but only gives 
me 2 IFBs (ifb0 and ifb1). How can I get more? I'm probably looking at needing 
about 20 on this project.
 
 

Regards, 
Leigh
 
Leigh SharpeNetwork Systems EngineerPacific 
WirelessPh +61 3 9584 8966Mob 0408 009 502email [EMAIL PROTECTED]web 
www.pacificwireless.com.au
 ___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] TC not recognising "mirred" argument

2006-08-31 Thread Leigh Sharpe



Hi 
All,
 I'm trying to 
do some traffic shaping with IFB. I have installed Ubuntu 6.0.6 and 
upgraded to the 2.6.17.7 kernel. I have an ifb0 device.
However, I think I 
may have the wrong version of TC installed, because it doesn't like the 'mirred' 
argument.
What version of 
iproute should I be using, and how can I upgrade it? apt-get update iproute 
doesn't seem to help. (tc is a part of the iproute package, isn't 
it?)
 
 

Regards, 
Leigh
 
Leigh SharpeNetwork Systems EngineerPacific 
WirelessPh +61 3 9584 8966Mob 0408 009 502email [EMAIL PROTECTED]web 
www.pacificwireless.com.au
 ___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] How can I get min 64kbps max 128kbps bandwidth

2006-08-31 Thread Beat Meier

Hi all

I have read the lartc manual, I have read the some faqs but still don't
know how to achive the following:

I have a 512kbps line which I share with 8 customers.
Now what I have is everyone gets max 64kbps. That's fine.

DEV=ath0
DEV_MAX_RATE=6mbit
DEV_RAT_LOW=64kbit
DEV_RATE_HIGH=128kbit

tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth
$DEV_MAX_RATE cell 8 mpu 64
tc class add dev $DEV parent 1:0 classid 1:1 cbq bandwidth $DEV_MAX_RATE
rate $DEV_RATE_HIGH avpkt 1000 prio 5 bounded isolated \
allot 1514 weight 1 maxburst 21
tc filter add dev $DEV parent 1: protocol ip prio 5 u32 match ip dst
0.0.0.0/0 flowid 1:1

But what I want is if there is unused bandwith i.e. others are not
'working' I want to divide this
available bandwith euqal to the users who are working BUT only at a
maxmimum of 128kbps.
I.e. min 64kbps max 128kbps for every user.
I now from reading that you can do such things with borrow but how??

Any help very welcome

Thanks

Beat


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


[LARTC] Problem with delay in htb class

2006-08-31 Thread Vitale Alessandro
Hi,
We've done a lots of tests on htb class to study behaviuor of delay.
We use this simple configuration:

tc qdisc add dev eth1 handle 1:0 root htb
tc class add dev eth1 parent 1:0 classid 1:1 htb rate 500 ceil 500 
burst 3 quantum 1600
tc class add dev eth1 parent 1:1 classid 1:10 htb prio 1 rate 100 ceil 
100 quantum 1600
tc filter add dev eth1 parent 1:0 protocol ip prio 1 handle 1 fw classid 1:10
tc class add dev eth1 parent 1:1 classid 1:20 htb prio 1 rate 150 ceil 
150 quantum 1600
tc filter add dev eth1 parent 1:0 protocol ip prio 1 handle 2 fw classid 1:20
tc class add dev eth1 parent 1:1 classid 1:100 htb prio 1 rate 250 ceil 
250 quantum 1600
tc filter add dev eth1 parent 1:0 protocol ip prio 1 handle 10 fw classid 1:100

We create, with SmartBits device, 3 flows with this characteristics:
1° flows : lenght layer 2 64 - frame per second 1758 - bandwith total 900096
2° flows : lenght layer 2 1000 - frame per second 167 - bandwith total 1336000
3° flows : lenght layer 2 1500 - frame per second 187 - bandwith total 2244000

We are in conform traffic situation.
The results of tests show us that a lots of packet of 3° flow have a certain 
delay (between 5ms - 100ms) but we can understand the reason.
If we change the frame per second of 3° flows to 120 , we notice that the 2° 
flows have a certain delay too and nothing delay on the 3° flows!!
How it can be possible ?
How works qdisc pfifo_fast attached to each class ? 
Where can be generate this delayed ?
We use htb version 3.7 on Kernel 2.4.20.

Thank, thank, thank 

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


Re: [LARTC] pps limit ?

2006-08-31 Thread Dmytro O. Redchuk
On Thu, Aug 31, 2006 at 12:35:32PM +0200, Roy-Magne Mo wrote:
> Dmytro O. Redchuk wrote:
> >Hello, list members,
> >
> >  can i limit pps rate with linux? How?
> >
> >  -m limit does not fit, as i understood: it can help with low rates only
> >  (is that true? any suggestions?)
> 
> This is probably better achieved at the switch level. If this is for 
> stopping viruses and DoS-attacks, then it's better to stop the traffic 
> as close to the source as possible.
Mmm, probably i mentioned linux box acting as a bridge [too]. And,
probably, not to stop, but to "prevent", by setting up some policy for pps
rates.

Probably, it's possible to set up some policing on Cisco Catalyst switch,
but if linux would have some tools to do "the same", it would be better,
as for me.

And i don't like "police [rate-bps] ..." here, i like htb in the same
situation :-)

I need a kind of "police [rate-*pps*] ...", and, preferably, for linux.

:-(



It's like it's not possible, so i should review my considerations
probably.


Thank you.
> 
> -- 
> Roy-Magne Mo

-- 
  _,-=._  /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
 `._ _,-.   )  _,.-'
`G.m-"^m`m'Dmytro O. Redchuk


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


Re: [LARTC] pps limit ?

2006-08-31 Thread Roy-Magne Mo

Dmytro O. Redchuk wrote:

Hello, list members,

  can i limit pps rate with linux? How?

  -m limit does not fit, as i understood: it can help with low rates only
  (is that true? any suggestions?)


This is probably better achieved at the switch level. If this is for 
stopping viruses and DoS-attacks, then it's better to stop the traffic 
as close to the source as possible.


--
Roy-Magne Mo

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


[LARTC] Simple PHP Internet Traffic Shaping

2006-08-31 Thread Iosif Peterfi
Project "Simple PHP Internet Traffic Shaping" ('spits-0.0.8b') has
released the new version of package 'spits'. You can download it from
SourceForge.net by following
this link:

or browse Release Notes and ChangeLog by visiting this link:
 




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