From mboxrd@z Thu Jan 1 00:00:00 1970 From: "yangrunhua" Date: Sat, 08 Dec 2001 02:58:23 +0000 Subject: [LARTC] How could I do this? MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_004B_01C17FD7.87F82F90" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_004B_01C17FD7.87F82F90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit If I want to limit bandwidth from a lot of ip addresses( every ip has a limit), How could I improve performance( If I could use netfilter to mark the ip packet with the bandwidth assigned to the src ip of packet), normally, this could only be done only by: one qdisc per ip, then there will be too many filters to classify them based on fwmark(and u32 + hash can't satisfy my demand that limit bandwidth for every ip, not for ip group), but it try to match line by line, then if many, the performance will go down. Many thanks ------=_NextPart_000_004B_01C17FD7.87F82F90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

If I want to limit = bandwidth from a lot of ip addresses( every ip has a = limit),

How = could I improve performance( If I could use netfilter  to mark the ip packet with the bandwidth assigned to =

the src ip of packet), normally, this could only be done only by: one qdisc per ip, then there will be too = many

filters to classify them based on fwmark(and u32 + hash can’t satisfy my demand that limit bandwidth for every = ip, not for ip = group),

but it try to match line by line, then if many, the = performance will go down.

Many = thanks

------=_NextPart_000_004B_01C17FD7.87F82F90-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/