|
Re: [Lug-bg] iproute TC въпрос
- Subject: Re: [Lug-bg] iproute TC въпрос
- From: b2 <b2@xxxxxxxxxxx>
- Date: Fri, 18 Nov 2011 16:54:15 +0200
On пт, 2011-11-18 at 09:29 -0500, Victor Keremedchiev wrote:
Нещо като това ли търсиш?
tc filter add dev $LAN parent ffff: protocol ip prio 5 u32 match ip src 192.168.16.4 police rate 260kbit burst 5k drop flowid :1
опа , исках да кажа :
tc class add dev eth0 parent ffff: classid ffff:1 htb rate 10Kbit burst 1Kbit
tc filter add dev eth0 parent ffff: protocol ip prio 100 route from 2 classid ffff:1
_______________________________________________
Lug-bg mailing list
Lug-bg@xxxxxxxxxxxxxxxxxx
http://linux-bulgaria.org/mailman/listinfo/lug-bg
|
|
|