All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Fairness queuing across a range of IP addresses
@ 2007-03-20 18:13 Derek Sims
  2007-03-20 19:09 ` Ales Klok
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Derek Sims @ 2007-03-20 18:13 UTC (permalink / raw)
  To: lartc

I have a block of IP addresses (2048) used for ADSL connections to 
customers.

In order to provide a fair slice of available bandwidth on the contended 
services I would like to be able to set up some kind of SFQ filter, but 
using a hash of the destination IP address rather than the the full 
source and destination ip and port. This would be done at the Internet 
side gateway for traffic being sent towards the customer's IP address.

Can anybody suggest how this could be done with qdiscs?

TIA

Derek
_______________________________________________
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] Fairness queuing across a range of IP addresses
  2007-03-20 18:13 [LARTC] Fairness queuing across a range of IP addresses Derek Sims
@ 2007-03-20 19:09 ` Ales Klok
  2007-03-20 19:26 ` Oscar Mechanic
  2007-03-29 22:37 ` Andy Furniss
  2 siblings, 0 replies; 4+ messages in thread
From: Ales Klok @ 2007-03-20 19:09 UTC (permalink / raw)
  To: lartc

Derek Sims wrote:
> I have a block of IP addresses (2048) used for ADSL connections to 
> customers.
>
> In order to provide a fair slice of available bandwidth on the 
> contended services I would like to be able to set up some kind of SFQ 
> filter, but using a hash of the destination IP address rather than the 
> the full source and destination ip and port. This would be done at the 
> Internet side gateway for traffic being sent towards the customer's IP 
> address.
>
> Can anybody suggest how this could be done with qdiscs?
>
> TIA
>
> Derek
Hi Derek, if i understand what you wanna do then i think you are looking 
for ESFQ. With ESFQ you can choose hash type from classic, dest IP or 
src IP.
/ak
_______________________________________________
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] Fairness queuing across a range of IP addresses
  2007-03-20 18:13 [LARTC] Fairness queuing across a range of IP addresses Derek Sims
  2007-03-20 19:09 ` Ales Klok
@ 2007-03-20 19:26 ` Oscar Mechanic
  2007-03-29 22:37 ` Andy Furniss
  2 siblings, 0 replies; 4+ messages in thread
From: Oscar Mechanic @ 2007-03-20 19:26 UTC (permalink / raw)
  To: lartc

On Tue, 2007-03-20 at 20:09 +0100, Ales Klok wrote:
> Derek Sims wrote:
> > I have a block of IP addresses (2048) used for ADSL connections to 
> > customers.
> >
> > In order to provide a fair slice of available bandwidth on the 
> > contended services I would like to be able to set up some kind of SFQ 
> > filter, but using a hash of the destination IP address rather than the 
> > the full source and destination ip and port. This would be done at the 
> > Internet side gateway for traffic being sent towards the customer's IP 
> > address.
> >
> > Can anybody suggest how this could be done with qdiscs?
> >
> > TIA
> >
> > Derek
> Hi Derek, if i understand what you wanna do then i think you are looking 
> for ESFQ. With ESFQ you can choose hash type from classic, dest IP or 
> src IP.
> /ak

As an ISP with 800 clients I found the hashs difficult to manage after
time. Also when dealing with clients who want subnet /29 mapping back to
a billing entry was hard. I wrote some PHP so other could use web front
end and used ipset (both hash and net sets) and combining with marks to
do the traffic control for different levels of service. As the client
requirements grew changed this ended in allot of panic PHP. So i use 3rd
party vendor device.

My advice would be to use 2 devices 1 to mark traffic and do access
control and use ds_shed to control traffic on other device. I think I
went wrong in trying to do all on one device.

Hope helps.

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

_______________________________________________
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] Fairness queuing across a range of IP addresses
  2007-03-20 18:13 [LARTC] Fairness queuing across a range of IP addresses Derek Sims
  2007-03-20 19:09 ` Ales Klok
  2007-03-20 19:26 ` Oscar Mechanic
@ 2007-03-29 22:37 ` Andy Furniss
  2 siblings, 0 replies; 4+ messages in thread
From: Andy Furniss @ 2007-03-29 22:37 UTC (permalink / raw)
  To: lartc

Oscar Mechanic wrote:
> On Tue, 2007-03-20 at 20:09 +0100, Ales Klok wrote:
>> Derek Sims wrote:
>>> I have a block of IP addresses (2048) used for ADSL connections to 
>>> customers.
>>>
>>> In order to provide a fair slice of available bandwidth on the 
>>> contended services I would like to be able to set up some kind of SFQ 
>>> filter, but using a hash of the destination IP address rather than the 
>>> the full source and destination ip and port. This would be done at the 
>>> Internet side gateway for traffic being sent towards the customer's IP 
>>> address.
>>>
>>> Can anybody suggest how this could be done with qdiscs?
>>>
>>> TIA
>>>
>>> Derek
>> Hi Derek, if i understand what you wanna do then i think you are looking 
>> for ESFQ. With ESFQ you can choose hash type from classic, dest IP or 
>> src IP.
>> /ak
> 
> As an ISP with 800 clients I found the hashs difficult to manage after
> time. Also when dealing with clients who want subnet /29 mapping back to
> a billing entry was hard. I wrote some PHP so other could use web front
> end and used ipset (both hash and net sets) and combining with marks to
> do the traffic control for different levels of service. As the client
> requirements grew changed this ended in allot of panic PHP. So i use 3rd
> party vendor device.
> 
> My advice would be to use 2 devices 1 to mark traffic and do access
> control and use ds_shed to control traffic on other device. I think I
> went wrong in trying to do all on one device.

The latest esfq used jhash - so should be better than the old hash.

http://fatooh.org/esfq-2.6/

Andy.

_______________________________________________
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:[~2007-03-29 22:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-20 18:13 [LARTC] Fairness queuing across a range of IP addresses Derek Sims
2007-03-20 19:09 ` Ales Klok
2007-03-20 19:26 ` Oscar Mechanic
2007-03-29 22:37 ` Andy Furniss

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.