Gentoo Archives: gentoo-user

From: Claudinei Matos <claudineimatos@×××××.com>
To: gentoo-server@l.g.o, gentoo-user@l.g.o
Subject: [gentoo-user] cbqlimit children priority
Date: Thu, 18 Aug 2005 19:27:49
Message-Id: fd8aab8505081812212628d7e9@mail.gmail.com
1 Hi,
2
3 I'm using cbqlimit to shape my bandwidth usage.
4 What I want is that even if some user make some download from xyz.com
5 using the full rate of the link I could start some other download at
6 my external server and get the priority limiting the other user
7 download speed and increasing mine.
8
9 Well, since I've an adsl link using eth1, I did made some rules to
10 match eth0 outgoing (which match internet inbound).
11 I've created one general rule which one I'd setup with the full
12 incoming rate matching all incoming address/port with a priority 3.
13 To my server address, I'd setup a rule with priority 1, but that rule
14 is using the genereal rule as parent.
15
16 I think that's the way I have to follow but that doesn't work exactly
17 like I want.
18 Trying to make 2 downloas from differente sources (my own server and
19 any other server), the unknown server get more speed than mine.
20
21 I'd tried to separate my server rule removing the parent reference, so
22 this time they both are main rules and my server have a priority "1"
23 while the other rule have priority "3", but even in this way, the
24 other server still getting more speed than my server.
25
26 How can I fixate this? May I'll have to use just one rule for my
27 server and let the "unknown" sources to have the free portion of the
28 bandwidth?
29
30 Tks in any advice,
31
32 Claudinei Matos
33
34 --
35 gentoo-user@g.o mailing list