ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Ivanov <seriv@parkheights.dyndns.org>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] Q: etcnet qos question
Date: Tue, 29 Nov 2005 17:14:02 +0100
Message-ID: <438C7E4A.4070700@parkheights.dyndns.org> (raw)

Всем привет!
Помогите справиться с задачкой. Не смог найти примеров, не смог найти в 
исходниках места подходящего чтобы понять.
Задачка простая. Есть etcnet'ный роутер с двумя сетевыми картами и есть 
локальная сеть с компьютерами и с телефонными адаптерами. Телефоным 
адаптерам надо обеспечить полосу исходящего трафика в 10 килобайт в 
секунду на каждый.
Этот траффик легче всего распознать по IP адресам этих приборчиков, 
которые они получают статически одни и те же от dhcpd.
Так как qos надо организовывать для трафика исходящего через другую 
сетевую карту, исходящий IP этих приборчиков там уже об'NAT'ен и заменен 
на адрес роутера на его WANовской карте.
Стандартный способ решать эту задачку - в таблице mangle  "-j MARK 
--set-mark" для пакетов от каждого из этих приборчиков с отдельной 
меткой. И потом использовать эту метку для фильтрации этих пакетов в 
классы по ключевому слову "fwmark".
А как это реализовать с etcnet?
-- 
    С уважением,
       Сергей Иванов.


             reply	other threads:[~2005-11-29 16:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-29 16:14 Sergey Ivanov [this message]
2005-11-30 15:03 ` sergey ivanov
2005-11-30 15:20   ` Yuriy Kashirin
2005-11-30 15:48     ` sergey ivanov
2005-12-01  3:10 ` sergey ivanov

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=438C7E4A.4070700@parkheights.dyndns.org \
    --to=seriv@parkheights.dyndns.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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