Traffic shaping issue
- From: "golem" <a.klopotek@xxxxxxxxx>
- Date: 31 Aug 2006 06:17:10 -0700
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
.
- Follow-Ups:
- Re: Traffic shaping issue
- From: jasonsig
- Re: Traffic shaping issue
- Prev by Date: Raw socket PF_PACKET questions
- Next by Date: Re: DHCP on different subnets
- Previous by thread: Raw socket PF_PACKET questions
- Next by thread: Re: Traffic shaping issue
- Index(es):