[nycbug-talk] dummynet question
pete wright
nomadlogic at gmail.com
Tue Mar 21 18:57:20 EST 2006
On 3/21/06, Tillman Hodgson <tillman at seekingfire.com> wrote:
> On Tue, Mar 21, 2006 at 08:30:07AM -0800, pete wright wrote:
> > hey all,
> > i've been hacking up a dummynet config for my mail sever which is in a
> > colo facility. i'm trying to limit my bandwidth to around 60kB/s on
> > ingress and egress flows. now i think i'm running into a problem with
> > dummynet restricting the bandwidth on my lo0 device, which is having a
> > negative effect on performance for squirellmail instance connecting to
> > a local imapd. from reading the docs i have not found an easy way to
> > apply pipe's to only external devices, and not the loopback device.
> > any idea's...hopefully missing something basic ;)
>
> I did that via ipfw commands a while back ... let me see if I can dig
> up that old script.
>
thanks tillman! i've quickly checked out your script, and it looks
pretty much inline with what i'm doing (although your script is much
more elegant than mine ;). ahh i think i got it now....i was setting
up blanket rules ala:
ipfw pipe 1 config bw 300Kbit/s
which now that i think about it will obviously throttle all
interfaces....execellent.....gonna give this a try tonight i hope!
-p
--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
More information about the talk
mailing list