ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] tc
Date: Wed, 22 Aug 2007 00:28:42 +0400
Message-ID: <46CB4AFA.6030507@altlinux.ru> (raw)

Ммм..как бы средстьвами tc+iptables организовать такую вещь:
Здача сделать шейпер.
Что нужно от него - есть улиенты которых нужно пускать в инет на 
скорости 64К скажем а во внутренюю сеть со скоростью 128К (всего 
получается 192К) и клиенты которых нужно  пускать как 128/128 (256 всего).

Сейчас это сделано на базе bsd...но хочется избавиться от...
Сейчас оно сделано так - приходит на 1 интерфейс, найтится шейпится из 
сети скажем 10.10.65.xx в 10.10.165.xx (ipnat+ipfw+pipe)
Ъотя от ната вообще было бы интересно избавиться..то ест ьскажем у 
клиента шлюзомстоит  ип 1 интерфейса шейпера..а шейпер уже отдлаёт 
пакетики дальше только зашейпив.


Как бы такое сделать средствами tc?

-- 
   np: silence


             reply	other threads:[~2007-08-21 20:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-21 20:28 Anton Gorlov [this message]
2007-08-22  5:00 ` Denis Klimov
2007-08-22  5:41   ` Anton Gorlov
2007-08-23  6:11     ` Anton Gorlov
2007-08-23  6:55       ` Dmytro O. Redchuk
2007-08-23  8:46         ` Dmytro O. Redchuk

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=46CB4AFA.6030507@altlinux.ru \
    --to=stalker@altlinux.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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