Skip to contentSkip to conversation

Bandwidth management by ip

LARTC sam Njengah 2 participants 2 messages Jun 23, 2003 – Jun 24, 2003

lore
Share & tools
lore
#0 lore raw

I have done a lot of reading as suggest . Now please help me with the setup of bandwidth management by ip.
----- Original Message -----
From: "Paul Evans" <[email protected]>
To: "sam" <[email protected]>
Sent: Thursday, June 19, 2003 9:44 PM
Subject: Re: [LARTC] bandwidth management by ip

Quoted 4 lines · sam
Quoted 2 lines

How can I manage bandwidth by ip on a linux box.I am a newbie in linux management.

G. is right, you are pretty much stuck reading for the next week or so.

It's

Quoted 1 line

just the price you have to pay to play with the stuff. If you are very

new,

Quoted 2 lines

you'll probably need to start a little further back with basic ip and networking concepts first. Then iptables and filters. Finally all the

lartc

Quoted 9 lines

stuff.

Beats me why G. seems so cranky today :-)

Good luck!

--
Regards, Paul Evans

#1 lore raw
Quoted 2 lines · sam Njengah

I have done a lot of reading as suggest . Now please help me with the setup of bandwidth management by ip.

firstly, you want to setup some qdiscs of different speeds/limits. the type will depend on if you want to slow the traffic to a fixed speed, or limit the maximum speed.
http://www.lartc.org/howto/lartc.qdisc.html#LARTC.QDISC.EXPLAIN

then you need to create filters to put the traffic from the particular IPs into the appropriate queues.
http://www.lartc.org/howto/lartc.adv-filter.html#LARTC.ADV-FILTER.U32

it's really all in the examples in the howto.

Signature · 10 lines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     [email protected]
SnapGear ---                           ph:         +61 7 3435 2809
  | Custom Embedded Solutions          fax:         +61 7 3891 3630
  | and Security Appliances            web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/