ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey S. Kuznetsov" <buster@kuznetsov.org.ua>
To: community@altlinux.ru
Subject: [Comm] ограничение скорости htb
Date: Fri, 25 Feb 2005 18:40:08 -0800
Message-ID: <1882540270.20050225184008@kuznetsov.org.ua> (raw)

Привет всем!!
  Прошу всех кто может помочь в решении очень сложной
  проблемы...плииз!
  В общем проблема в следующем..начальник поставил задачу ограничить
  скорость на клиентов: Описываю сервер:
  1. ALM 2.4
  2. eth0 (real IP default gateway)
  3. eth1 (192.168.2.0/24)
  4. eth2 (192.168.3.0/24)
  в пунктах 3 и 4 сидят клиенты, которым нужно отдать 8Мбит на
  нетбиос, 64Кбита на лазелье в инете и 8Мбит на забирание почты с
  наших почтовиков.....

  Пробую htb:
  как я понял система такая:
  берёт eth1. Можно ограничить только трафик, который идёт от
  пользователей:
  делаем в /etc/sysconfig/htb След. конфы
  eth1:
  DEFAULT=100

  eth1-2.root   (это для 1го клиента)
  RATE=8Mbit

  eth1-2:10.netbios
  rate=4Mbit
  ceil=8Mbit
  RULE=192.168.2.11:137,
  RULE=192.168.2.11:128,
  .....

  eth1-2:20.web
  rate=10kbit
  ceil=64kbit
  rule=192.168.2.11:80,
  rule=192.168.2.11:3128,
  ....


  потом то же самое для 2го клиента:

  eth1-3.root
  eth1-3:10
  eth-3:20
  я правильно понимаю??
  а как мне ограничить трафик К клиенту??? в cbq всё было понятно, но
  мне нужно как-то динамически заюзывать неиспользующийся канал...

  помогите пожалуйста...мне очень срочно нужно это сделать!!

  Заранее спасибо!

-- 
Sincerely,
Alexey S. Kuznetsov
AK2351-RIPE




                 reply	other threads:[~2005-02-26  2:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1882540270.20050225184008@kuznetsov.org.ua \
    --to=buster@kuznetsov.org.ua \
    --cc=community@altlinux.ru \
    /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