All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or
@ 2006-04-14 15:01 Rani Ahmed
  2006-04-14 15:20 ` Martin A. Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rani Ahmed @ 2006-04-14 15:01 UTC (permalink / raw)
  To: lartc

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.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or
  2006-04-14 15:01 [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or Rani Ahmed
@ 2006-04-14 15:20 ` Martin A. Brown
  2006-04-15  8:39 ` Anton Glinkov
  2006-04-20  8:38 ` Rani Ahmed
  2 siblings, 0 replies; 4+ messages in thread
From: Martin A. Brown @ 2006-04-14 15:20 UTC (permalink / raw)
  To: lartc


Hello again Rani,

 : 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?

You should probably consider IMQ [0] or the new-ish IFB [1].  With 
either tool, you'll be able to create a traffic control structure 
which spans multiple output devices.

Good luck,

-Martin

 [0] IMQ = Intermediate Queuing Device
     http://www.linuximq.net/
     http://lartc.org/howto/lartc.imq.html
     http://wiki.nix.hu/cgi-bin/twiki/view/IMQ/HowToInstall
 [1] IFB = Intermediate Functional Block
     http://mailman.ds9a.nl/pipermail/lartc/2006q2/018641.html
     http://marc.theaimsgroup.com/?l=linux-netdev&m\x113674224714758&w=2

-- 
Martin A. Brown --- Wonderfrog Enterprises --- martin@wonderfrog.net
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or
  2006-04-14 15:01 [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or Rani Ahmed
  2006-04-14 15:20 ` Martin A. Brown
@ 2006-04-15  8:39 ` Anton Glinkov
  2006-04-20  8:38 ` Rani Ahmed
  2 siblings, 0 replies; 4+ messages in thread
From: Anton Glinkov @ 2006-04-15  8:39 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or
  2006-04-14 15:01 [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or Rani Ahmed
  2006-04-14 15:20 ` Martin A. Brown
  2006-04-15  8:39 ` Anton Glinkov
@ 2006-04-20  8:38 ` Rani Ahmed
  2 siblings, 0 replies; 4+ messages in thread
From: Rani Ahmed @ 2006-04-20  8:38 UTC (permalink / raw)
  To: lartc

thanks for your help. but i am not that much used to tc. i use tcng. so 
how should i write that in tcng?
Anton Glinkov wrote:

>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.
>>
>>    
>>
>
>  
>

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-20  8:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-14 15:01 [LARTC] Shaping per IP in PPPoE borrowing or sharing Uplink or Rani Ahmed
2006-04-14 15:20 ` Martin A. Brown
2006-04-15  8:39 ` Anton Glinkov
2006-04-20  8:38 ` Rani Ahmed

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.