Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 16:02:28 -0700
From:      Sean Hafeez <sahafeez@edgefocus.com>
To:        "Simon L. Nielsen" <simon@nitro.dk>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: IP's per pipe?
Message-ID:  <3EF24104.1010704@edgefocus.com>
References:  <3EF23F30.3030803@edgefocus.com> <20030619225850.GJ408@nitro.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
it will have to be queues. mask would not work beacuse i may have .5 at 
1024k and .6 at 384k. no way to do that.

thanks for the info.



Simon L. Nielsen wrote:
> On 2003.06.19 15:54:40 -0700, Sean Hafeez wrote:
> 
>>#ipfw pipe 1 config bw 128kbits/s
>>#ipfw pipe 4 config bw 384kbits/s
>>#ipfw add 100 pipe 1 ip from any to 192.168.43.2
>>#ipfw add 102 pipe 4 ip from 192.168.43.2 to any
>>#ipfw add 103 pipe 1 ip from any to 192.168.43.3
>>#ipfw add 105 pipe 4 ip from 192.168.43.3 to any
>>
>>is it a new pipe for each rule or will .2 and .3 be tossed in the same 
>>128/384k pipe?
> 
> 
> They will be in the same pipe(s).  You can use queues to pritice them in
> the two pipes, or use masks to create a pipes per IP/port.
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EF24104.1010704>