Date: 05 Apr 2005 11:14:30 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Sergey Lapin <slapinid@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: dummynet problems Message-ID: <44u0ml8dd5.fsf@be-well.ilk.org> In-Reply-To: <48239d3905040404285e13067b@mail.gmail.com> References: <48239d3905040404285e13067b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sergey Lapin <slapinid@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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44u0ml8dd5.fsf>