ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] ограничение скорости htb
@ 2005-02-26  2:40 Alexey S. Kuznetsov
  0 siblings, 0 replies; only message in thread
From: Alexey S. Kuznetsov @ 2005-02-26  2:40 UTC (permalink / raw)
  To: community

Привет всем!!
  Прошу всех кто может помочь в решении очень сложной
  проблемы...плииз!
  В общем проблема в следующем..начальник поставил задачу ограничить
  скорость на клиентов: Описываю сервер:
  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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-26  2:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-26  2:40 [Comm] ограничение скорости htb Alexey S. Kuznetsov

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