Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2001 13:15:31 -0400
From:      Michael Lucas <mwlucas@blackhelicopters.org>
To:        questions@freebsd.org
Subject:   dummynet question
Message-ID:  <20010701131531.A78357@blackhelicopters.org>

next in thread | raw e-mail | index | archive | help
Hello,

I have several Web sites, with different IP addresses, on one server.
I would like to limit each individual site to 128k of outbound traffic.

ipfw add 00100 pipe 1 ip from a.b.c.d to any
ipfw add 00200 pipe 2 ip from a.b.c.e to any
....

ipfw pipe 1 config bw 128Kbit/s
ipfw pipe 2 config bw 128Kbit/s
...

Could I simplify this into pointing each IPFW rule into "pipe 1",
throttling each to 128K?  Or would they share the bandwidth, or would
something else funky happen?

I could figure this out by trial and error, but it's a production
system and clients don't take this sort of random testing kindly.

Thanks,
Michael

-- 
Michael Lucas
mwlucas@blackhelicopters.org
http://www.blackhelicopters.org/~mwlucas/
Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010701131531.A78357>