ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Владимир Гусев" <vova1971@narod.ru>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] Снова про htb (теперь и про cbq)
Date: Fri, 02 Dec 2005 13:20:33 +0300
Message-ID: <op.s05i0jebglg102@post.cnt.ru> (raw)
In-Reply-To: <439012DD.9040209@yandex.ru>

>> Вот сколько ни читал всяких разных HOWTO и прочих, не заметил, в   
>> частности, ответ на вопрос, какое значение должно быть у "пропускной   
>> способности" DEVICE=eth0 - пропускная способность сетевой карты или   
>> пропускная способность канала ADSL.
> Дело в том, что для того, чтобы шейпить трафик, надо
> очередь пакетов перенести из неконтролируемого устройства
> (обычно - самого медленного, т.е. ADSL) в компьютер.
> Следовательно - ставим самую маленькую на _исходящем_
> в инет траффике, т.е. скорость upload ADSL и даже
> еще чуть-чуть поменьше. Это сработает например на отправку
> большой почты.

Кстати, о большой почте..
вот я создал такой файл /etc/sysconfig/cbq-15.smtp

[root@gate cbq]# cat cbq-15.smtp
#параметры пропускной способности исходящ. траффика ADSL - 1.5 Mbit,  
соответственно вес его - 192
#eth0 - внешний интерфейс шлюза, смотрит в "инет"
DEVICE=eth0,1.5Mbit,192Kbit
RATE=10Kbit
WEIGHT=1Kbit
PRIO=5
#тут весь траффик со всех компов локальной сети (за шлюзом) по 25 порту  
куда угодно
RULE=192.168.1.0/24:25,

Будет ли работать такая конфигурация? Не повлияет ли она случайно на  
входящий трафик вообще?

-- 
С уважением, Владимир Гусев


  reply	other threads:[~2005-12-02 10:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-30 11:22 [Comm] Снова про htb Владимир Гусев
2005-11-30 12:22 ` Alexey V. Novikov
2005-11-30 13:13   ` Владимир Гусев
2005-11-30 13:21     ` Alexey V. Novikov
2005-11-30 14:25       ` [Comm] Снова про htb (теперь и про cbq) Владимир Гусев
2005-12-01  5:48         ` Alexey V. Novikov
2005-12-01 10:10           ` Владимир Гусев
2005-12-02  7:42           ` Владимир Гусев
2005-12-02  9:24             ` Alexey V. Novikov
2005-12-02 10:20               ` Владимир Гусев [this message]
2005-12-02 10:43                 ` Alexey V. Novikov
2005-12-02 11:24                   ` Владимир Гусев
2005-12-02 11:54                     ` Alexey V. Novikov
2005-12-02 13:40                       ` Владимир Гусев
2005-11-30 15:00 ` [Comm] Снова про htb sergey ivanov
2005-11-30 20:50   ` [Comm] " Michael Shigorin
2005-12-02 16:14 ` [Comm] " Sergey Ivanov
2005-12-02 19:42   ` [Comm] " Michael Shigorin
2005-12-02 21:00     ` Sergey Ivanov
2005-12-03 16:32   ` [Comm] " Владимир Гусев
2005-12-03  1:00 ` Aleksey Avdeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.s05i0jebglg102@post.cnt.ru \
    --to=vova1971@narod.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git