From: Serge <skompan@kspu.kr.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] шейпер
Date: Wed, 25 Feb 2009 08:11:04 +0200
Message-ID: <200902250811.04279.skompan@kspu.kr.ua> (raw)
In-Reply-To: <200902241051.12498.skompan@kspu.kr.ua>
On Tuesday 24 February 2009 10:51:11 Serge wrote:
> Здравствуйте!
> посоветуйте, стоит ли использовать шейпер (htb) в структуре etcnet или
> писать отдельный bash скрипт с правилами шейпера и запускать отдельно от
> etcnet? _______________________________________________
настроил через etcnet.
и есть правила
[root@ns 20]# pwd
/etc/net/ifaces/eth1/qos/1/1/2/20
[root@ns 20]# cat filter
protocol ip prio 1 u32 match ip src 192.168.1.2 flowid 1:20
protocol ip prio 1 u32 match ip src 192.168.1.2 flowid 1:20
protocol ip prio 1 u32 match ip src 192.168.1.2 flowid 1:20
protocol ip prio 1 u32 match ip dst 192.168.1.2 flowid 1:20
protocol ip prio 1 u32 match ip dst 192.168.1.2 flowid 1:20
protocol ip prio 1 u32 match ip dst 192.168.1.2 flowid 1:20
protocol ip prio 1 u32 match ip dst 192.168.1.2 match ip sport 80 0xffff
flowid 1:20
protocol ip prio 1 u32 match ip dst 192.168.1.2 match ip sport 21 0xffff
flowid 1:20
protocol ip prio 1 u32 match ip dst 192.168.1.2 match ip sport 20 0xffff
flowid 1:20
root@ns 20]# cat class
htb rate 512kbit
Но шейпинг не применяется к хосту 192.168.1.2
и что характерно после того как запустил QOS
[root@ns 20]# tc filter ls dev eth1
[root@ns 20]#
В чем может быть проблемма?
prev parent reply other threads:[~2009-02-25 6:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-24 8:51 Serge
2009-02-25 6:11 ` Serge [this message]
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=200902250811.04279.skompan@kspu.kr.ua \
--to=skompan@kspu.kr.ua \
--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