Re: PF Queue on a GROUP of nics?

2008-10-15 Thread Brian A. Seklecki
On Mon, 2008-10-06 at 16:39 +1100, Sunnz wrote:
> Is it possible?
> 
> Say I have a few nics of the same group... dc0 dc1 dc2 dc3... which
> all belong to a group "dc".

Sunnz

Do you mean a "shared queue" where "downstream" bandwidth from a single
"upstream" interface is proportionally divided into two "downstream"
subnets as it egresses two separate interfaces?

I was just revisiting that from2006?

Ping me back if so.

~BAS




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.



Re: PF Queue on a GROUP of nics?

2008-10-06 Thread Henning Brauer
* Sunnz <[EMAIL PROTECTED]> [2008-10-06 16:59]:
> Ahhh ok... so what do I need to do this, 

write lots of code :)

> group, bridge, or something else?

bridge doesn't have queues either. that is just not how it works. one
still had to play the delay/drop games on the physical interfaces
(that have queues) but use a summary of all interfaces in the group to
do the math, or the like. lots of work that nobody has done. And I
don't see it getting done either; I for one am totally not interested
in that functionality nor writing the code.

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam



Re: PF Queue on a GROUP of nics?

2008-10-06 Thread Sunnz
Ahhh ok... so what do I need to do this, group, bridge, or something else?

2008/10/7 Henning Brauer <[EMAIL PROTECTED]>:
> * Sunnz <[EMAIL PROTECTED]> [2008-10-06 07:44]:
>> Is it possible?
>
> no. groups don't have any queues to play queue tricks on.
>
> --
> Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
> BS Web Services, http://bsws.de
> Full-Service ISP - Secure Hosting, Mail and DNS Services
> Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam
>
>



-- 
This e-mail may be confidential. You may not copy, forward or use any
part. All disclaimers on the Internet are of zero legal effectiveness.
http://www.goldmark.org/jeff/stupid-disclaimers/



Re: PF Queue on a GROUP of nics?

2008-10-06 Thread Henning Brauer
* Sunnz <[EMAIL PROTECTED]> [2008-10-06 07:44]:
> Is it possible?

no. groups don't have any queues to play queue tricks on.

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam



Re: PF Queue on a GROUP of nics?

2008-10-06 Thread Sunnz
2008/10/6 Girish Venkatachalam <[EMAIL PROTECTED]>:
> No need to add a bridge.
>
> You are looking for ifconfig(8). Look for interface groups and you are
> done.
>
> -Girish
>
>

Oh, so just apply altq rules to the appropieate group and it will work?

That sounds great!! Thanks!!

-- 
This e-mail may be confidential. You may not copy, forward or use any
part. All disclaimers on the Internet are of zero legal effectiveness.
http://www.goldmark.org/jeff/stupid-disclaimers/



Re: PF Queue on a GROUP of nics?

2008-10-06 Thread Girish Venkatachalam
On 16:39:30 Oct 06, Sunnz wrote:
> Is it possible?
> 
> Say I have a few nics of the same group... dc0 dc1 dc2 dc3... which
> all belong to a group "dc".
> 
> And say if I wanted to limit the overall bandwidth for the group... so
> say at any point in time the overall outgoing bandwidth of the group
> dc will not be over 100mbp.
> 
> Would it work if I just apply altq to dc in pf?
> 
> Or do I need to bridge it... this is where I have no ideas... but say
> I add a bridge0 that contains dc0 dc1 dc3 dc2, and apply altq to
> bridge0 in pf.

No need to add a bridge.

You are looking for ifconfig(8). Look for interface groups and you are
done.

-Girish



PF Queue on a GROUP of nics?

2008-10-05 Thread Sunnz
Is it possible?

Say I have a few nics of the same group... dc0 dc1 dc2 dc3... which
all belong to a group "dc".

And say if I wanted to limit the overall bandwidth for the group... so
say at any point in time the overall outgoing bandwidth of the group
dc will not be over 100mbp.

Would it work if I just apply altq to dc in pf?

Or do I need to bridge it... this is where I have no ideas... but say
I add a bridge0 that contains dc0 dc1 dc3 dc2, and apply altq to
bridge0 in pf.

Regards,
Sunnz.

-- 
This e-mail may be confidential. You may not copy, forward or use any
part. All disclaimers on the Internet are of zero legal effectiveness.
http://www.goldmark.org/jeff/stupid-disclaimers/