From: "Anton Glinkov" Date: Sat, 15 Apr 2006 08:39:26 +0000 Subject: Re: [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or Message-Id: <2075.217.79.89.183.1145090366.squirrel@217.79.89.183> List-Id: References: <443FB946.6050205@idm.net.lb> In-Reply-To: <443FB946.6050205@idm.net.lb> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org If they are all on the same ethernet device, you can match them with: tc filter add dev ${DEVICE} parent 1: protocol all u32 \ match u16 0x8864 0xFFFF at -2 flowid 1:${ID} 8864 is the PPP session ethernet protocol you can play around with u32 if you want to match tos or ports and stuff.. > helo again. I think this question i am asking is worth: > > we know that pppoe-server creates a pppX device on each connection done > to it. > So, when i have to shape, i have to shape each pppX connection device on > itself alone. > What i know is that the borrowing method on one device by itself, e.g. > ppp0, alone using HTB or the like. this means that i have to create for > another device, e.g. ppp1, its own HTB or CBQ tree. > > So, how can i in PPPoE technology setup sharing or borrowing between all > the pppX devices so it won't let network starvation problem float on > surface? > > Thanks. > -- Anton Glinkov network administrator _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc