From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] tc
Date: Thu, 23 Aug 2007 10:11:12 +0400
Message-ID: <46CD2500.4090508@altlinux.ru> (raw)
In-Reply-To: <46CBCC8D.6000001@altlinux.ru>
Anton Gorlov пишет:
>> #Даем 128К из внутренней сети, нужно повторить для каждого клиента,
>> #увеличивая classid 1:x в первой строке и соответственно flowid 1:х во второй. IP клиента в данном примере 10.10.65.123
>> tc class add dev eth0 parent 1:1 classid 1:1 htb rate 128kbit;
>> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst 10.10.65.123 match ip src 10.10.165.0/24 flowid 1:1;
> Ммм..а если клиентов от 1К и более? писать тысячу правил представляется
> не совсем масштабируемым решением имхо.
Как бы всё таки избавиться от того что бы не прпоисывать каждого клиента
по отдельности.. Нет - забить скриптом конечно не проблема.. но не
аккуратненько всё же.
next prev parent reply other threads:[~2007-08-23 6:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-21 20:28 Anton Gorlov
2007-08-22 5:00 ` Denis Klimov
2007-08-22 5:41 ` Anton Gorlov
2007-08-23 6:11 ` Anton Gorlov [this message]
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=46CD2500.4090508@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