From: Dave Weis Date: Sun, 04 Dec 2005 22:11:50 +0000 Subject: [LARTC] Shaping per machine Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org I'm trying to shape each machine on an interface to 256k each, but I'm getting stuck and only able to shape an entire interface to 256k. What should I be doing differently here? tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100MBit ceil 100MBit tc qdisc add dev eth0 parent 1:10 handle 110: sfq perturb 10 tc class add dev eth0 parent 1:1 classid 1:10 htb \ rate 256kbit ceil 256kbit prio 0 tc filter add dev eth0 parent 1:0 protocol ip pref 1 u32 \ match ip src 10.7.15.0/24 flowid 1:10 Thanks dave -- Dave Weis djweis@internetsolver.com http://www.internetsolver.com/ _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc