From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steen Suder, privat" Date: Wed, 13 Nov 2002 18:07:15 +0000 Subject: [LARTC] "Fan-in/fan-out" tc filters? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Consider a Linux NAT-gateway on an ADSLlink providing internet for a number of users, say, 100 or so. I want to use WRR, perhaps with attached SFQs or similar, to make sure every user get their fair share of download. Atop, at the root, I'll place a HTB to limit bandwidth to make sure the gw is the bottleneck to make shaping efficient. How do I prioritize packets based on tc filters between the root HTB and the WRR? What I imagine is something like: DEV | --------- | HTB | "Bottleneck" --------- | | -------|-------- / | \ / | \ / | \ ------- ------- -------- | LOW | | MED | | HIGH | "Prio-bands" ------- ------- -------- (HTB, pfifo_fast, PRIO \ | / or the like) \ | / \ | / ---------------- | | ------- | WRR | ------- | | -------|-------- / | \ / | \ / | \ ------- ------- ------- | SFQ | | SFQ | | SFQ | x 100 ------- ------- ------- I'd like to do that to make sure that the system overall favours interactive traffic before "bulk". Games and other latency-dependant traffic types must perform the best on the cost of ftp-download or similar. Attaching pfifo_fast, PRIO or triple (low/medium/high priorities) HTB qdiscs to the root is easy but it seems that it is impossible to attach /one/ WRR afterwards. How do I accomplish what I want to do? -- Mvh. / Best regards, Steen Suder ICQ UIN 4133803 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/