[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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 188.8.131.52. Only this exact IP
> number will match the rule.
> ipno/bits An IP number with a mask width of the form 184.108.40.206/24.
> In this case all IP numbers from 220.127.116.11 to 18.104.22.168
> will match.
> ipno:mask An IP number with a mask of the form
> 22.214.171.124:255.255.240.0. In this case all IP numbers
> from 126.96.36.199 to 188.8.131.52 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