ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] шейпер
@ 2009-02-24  8:51 Serge
  2009-02-25  6:11 ` Serge
  0 siblings, 1 reply; 2+ messages in thread
From: Serge @ 2009-02-24  8:51 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Здравствуйте!
посоветуйте, стоит ли использовать шейпер (htb) в структуре etcnet или писать 
отдельный bash скрипт с правилами шейпера и запускать отдельно от etcnet?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Sysadmins] шейпер
  2009-02-24  8:51 [Sysadmins] шейпер Serge
@ 2009-02-25  6:11 ` Serge
  0 siblings, 0 replies; 2+ messages in thread
From: Serge @ 2009-02-25  6:11 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

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]#
В чем может быть проблемма?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-25  6:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-24  8:51 [Sysadmins] шейпер Serge
2009-02-25  6:11 ` Serge

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