Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Just tossing thoughts around.. Please don't take my idle thoughts as
anything but that. I guess I can try reading the ipfw/dummynet sources,
but with my diminuitive programming background, I think I'd have better
luck deciphering Bush's budget plans.


On Fri, 22 Feb 2002, Sean Chittenden wrote:

> > > If you're trying to do rate-shapping, you might want to check out
> > > dummynet(4).  That man page helped me the most in setting up
> > > rate-shapping.  -sc
> >
> > Care to share examples?  For example, is bandwidth reservation
> > possible (which is what the question seemed to be), or is this
> > achieved indirectly through bandwidth limiting of other traffic?
>
> From dummynet(4):
>
> ipfw pipe 1 config bw 1Mbit/s
> ipfw add pipe 1 ip from A to B out
> ipfw add pipe 1 ip from B to A in
>
> where A can be one of the following (from ipfw(8)):
>
>              ipno       An IP number of the form 1.2.3.4.  Only this exact IP
>                         number will match the rule.
>
>              ipno/bits  An IP number with a mask width of the form 1.2.3.4/24.
>                         In this case all IP numbers from 1.2.3.0 to 1.2.3.255
>                         will match.
>
>              ipno:mask  An IP number with a mask of the form
>                         1.2.3.4:255.255.240.0.  In this case all IP numbers
>                         from 1.2.0.0 to 1.2.15.255 will match.
>
>
> You can also add ports to that in the same way you would make a normal
> filewall rule.  -sc
>
> --
> Sean Chittenden
>
>
>


To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-ipfw" in the body of the message