Networking Forums

Networking Forums > Computer Networking > Linux Networking > Traffic shaping issue

Reply
Thread Tools Display Modes

Traffic shaping issue

 
 
golem
Guest
Posts: n/a

 
      08-31-2006, 01:17 PM
Hi!

I administrate a small network - about 20 users, connection downstream
1Mbit/s on DSL. Recently, people started to compain about poor internet
speed. I beleive that some of them use p2p programs all the time and
this is the cause...

I wonder how can I achieve fair connection sharing between all users,
since simple FIFO algorithm doesn't do well here - one who sends more
packets/opens more connections - gets more of available bandwidth. What
I want to do, is something like this:

root (eth)
|
+ (match ip 192.168.1.1) \
+ (match ip 192.168.1.2) | RR alghorithm
+ (match ip 192.168.1.3) /
......

The packets addressed to specific IPs should get into appropriate
classes/queues and then should be dequeued in a round-robin fashion. I
think that this is a goog solution because I don't want to limit the
transfer rate for individual users but on the other hand I need a fair
queuing.

My question is - how to achieve that using tc?
(note: I've already read Traffic-Control-HOWTO

Thanks in advance

--
golem

 
Reply With Quote
 
 
 
 
jasonsig
Guest
Posts: n/a

 
      08-31-2006, 04:21 PM
hi, try using HTB. Try this http://www.opalsoft.net/qos.

js

golem wrote:
> Hi!
>
> I administrate a small network - about 20 users, connection downstream
> 1Mbit/s on DSL. Recently, people started to compain about poor internet
> speed. I beleive that some of them use p2p programs all the time and
> this is the cause...
>
> I wonder how can I achieve fair connection sharing between all users,
> since simple FIFO algorithm doesn't do well here - one who sends more
> packets/opens more connections - gets more of available bandwidth. What
> I want to do, is something like this:
>
> root (eth)
> |
> + (match ip 192.168.1.1) \
> + (match ip 192.168.1.2) | RR alghorithm
> + (match ip 192.168.1.3) /
> .....
>
> The packets addressed to specific IPs should get into appropriate
> classes/queues and then should be dequeued in a round-robin fashion. I
> think that this is a goog solution because I don't want to limit the
> transfer rate for individual users but on the other hand I need a fair
> queuing.
>
> My question is - how to achieve that using tc?
> (note: I've already read Traffic-Control-HOWTO
>
> Thanks in advance
>
> --
> golem


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
traffic-shaping? peter pilsl Linux Networking 0 04-15-2007 08:20 PM
Own traffic shaping policy tricky Linux Networking 1 06-27-2006 02:38 PM
MN-100 and traffic shaping Nikitas Broadband Hardware 1 07-25-2004 01:19 AM
shaping traffic Benjamin Hirsch Home Networking 3 02-12-2004 07:51 PM
Traffic Shaping Leonardo H. Machado Linux Networking 0 10-12-2003 03:26 AM



1 2 3 4 5 6 7 8 9 10 11