From: Carl Peterson Date: Fri, 22 Sep 2006 04:15:02 +0000 Subject: [LARTC] Does each filter share bandwidth in a class? Message-Id: <200609220052.44352.cpeterson@portnetworks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org I want to give each user 1M of bandwidth. With the rules below, will they share one Mb or will each user get 1Mb? I want to give each user 1M of bandwidth. With the rules below, will they share one Mb or will each user get 1Mb? In reality there are over a thousand users, and also outbound rules, but this should make it simple. # eth2 inbound maclist tc qdisc add dev eth2 root handle 1: cbq avpkt 1000 bandwidth 100mbit tc class add dev eth2 parent 1: classid 1:1 cbq rate 1024kbit allot 1500 prio 5 bounded isolated # user1 tc filter add dev eth2 parent 1: protocol ip prio 10 u32 match u16 0x0016 0xFFFF at -14 match u32 0xB629E4D6 0xFFFFFFFF at -12 flowid 1:1 # user 2 tc filter add dev eth2 parent 1: protocol ip prio 10 u32 match u16 0x0014 0xFFFF at -14 match u32 0xA5457120 0xFFFFFFFF at -12 flowid 1:1 Thanks, Carl _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc