OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: using queues to limit bandwidth

From: Jason Dixon (jasondixongroup.net)
Date: Mon May 01 2006 - 12:41:20 CDT


On May 1, 2006, at 1:02 PM, Chris Bullock wrote:

> Can queues be used to queue overall bandwidth? We have a project
> where we
> will be sharing an Internet connection with another company, we
> will have an
> IP and they will have an IP each company providing their own
> firewall. I
> understand that queuing is able to queue based on protocol, etc on
> the same
> box but lets say there is a T1 shared between the companies, The
> company
> tells us, you can have one of our IP addresses but you can only use
> 100k of
> our bandwidth, can pf do this? I guess this is more bandwitdh
> throttling
> more so than queuing.

Yes, CBQ works quite well.

http://www.openbsd.org/faq/pf/queueing.html#cbq

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net