dummynet problems

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Apr 5 08:14:33 PDT 2005


Sergey Lapin <slapinid at gmail.com> writes:

> Hi, all! 
> Here I have a problem with dummynet. System is FreeBSD-5.3-STABLE month ago. 
> we have very small bandwidth from LAN. 
> rl0 is internal interface. 
> 
> ipfw rukes are (fwcmd=/sbin/ipfw): 
> ${fwcmd} pipe 1 config bw 60Kbit/s 
> ${fwcmd} add 778 pipe 1 tcp from any
> 25,43,53,80,110,119,123,143,953,5190 to 192.168.0.0/25 out via rl0
> 
> ${fwcmd} queue 1 config pipe 1 weight 100 mask dst-ip 0xffffffff queue 5 
> ${fwcmd} add 790 queue 1 log logamount 10 tcp from any to 192.168.0.99
> out via rl0
> 
> 
> ${fwcmd} queue 2 config pipe 1 weight 100 mask dst-ip 0x00000fff
> buckets 150 queue 10
> ${fwcmd} queue 3 config pipe 1 weight 30 mask dst-ip 0x00000fff
> buckets 150 queue 10
> ${fwcmd} queue 4 config pipe 1 weight 70 mask dst-ip 0x00000fff
> buckets 150 queue 10
> ${fwcmd} add 791 queue 2 log logamount 10 tcp from any 5190 to
> 192.168.0.0/25  out via rl0
> ${fwcmd} add 795 queue 3 log logamount 10 tcp from any 80,3128,21,20
> to 192.168.0.0/25  out via rl0
> ${fwcmd} add 792 queue 4 log logamount 10 tcp from any
> 25,110,43,53,119,123,143,953 to 192.168.0.0/25  out via rl0
> 
> Thanks a lot! 


I don't use dummynet myself, but surely it would be easier to help you
if you described what the actual problem is?


More information about the freebsd-questions mailing list