From: "yang,fang" Date: Mon, 17 Sep 2007 03:25:56 +0000 Subject: [LARTC] Question on traffic control Message-Id: <0JOH0021GTHOG3@mail.fudan.edu.cn> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, everyone. I'm newbie to TC. Now, I want to control my gateway traffic with tc. I have a typical linux gateway server (CentOS 5) Requirement is as follows: 1. Total bandwidth is 10M (either up or down) 2. Each PC in the subnet (192.168.0.0/24) should be limited to 1M bandwidth, so that no single PC can expend too much bandwidth. How can I carry it out? I am not quit familiar to tc. After reading some articles, I find set-mark with iptables and handle mark with tc might be good. Must I add more than 250 rules in iptables or tc? Does it result in low efficiency? Massive thanks. Best regards, yfang _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc