[LARTC] Setup IMQ on kernel 2.4.20

2003-01-09 Thread Koot, M.
Hi,

does someone have setup IMQ succesfully on kernel 2.4.20?
If so, how did you do that. 
I only see the diff for kernel 2.4.19. Can I use that?


Thanks,

Martijn

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



[LARTC] How about this setup? Please help!

2002-12-03 Thread Koot, M.
Hi all,

I have the following setup.

  192.168.1.2 
 +--+  /   +-+  
 | ADSL | /| |  ++
INTERNET-|Router|-eth0eth1-|Linux|-eth0- ---| SWITCH | 
 |  |/ | | \+-+-+-+-++
 +--+   /  +-+  \ | | | |
192.168.1.1  192.168.2.1  | | | |
  | | | |
  | | | | 
[client] 192.168.2.50 (Me) ---+ | | |
[client] 192.168.2.51  -+ | |
[client] 192.168.2.52  ---+ |
|
|
   +---+|   
[client] 192.168.3.50 -| H || 
[client] 192.168.3.51 -| u |   +--+ |
[client] 192.168.3.52 -| b |---|Router|-+
   +---+  /+--+ \
 /   \
   192.168.3.1   192.168.2.2

I have an ADSL connection with the following specs:
Down: 8 Mbit :-))
Up: 512 kbps

What I want to do is the following:

I want to ensure that the download speed to the net 192.168.3.0, 
192.168.2.52 and 192.168.2.51 is guaranteed at 512 kbps each. 
When there is no traffic in the 192.168.3.0 net, i want to allow 
192.168.2.50 to take the full 8Mbit (that's me)

Same for 192.168.2.52 and 192.168.2.51: When the client is not 
generating traffic it must go to 192.168.2.50.

When the clients DO generate traffic, there speed must be at 512 
kbps. All the rest go to 192.168.2.50 

Further I want to shape the upload traffic from net 192.168.3.0, 
192.168.2.51 and 192.168.2.52 to a max of 128 kbps.

What is the best way to do that using tc?

TIA

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