[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Apply bandwidth limit to entire RaQ4
- Subject: [cobalt-users] Apply bandwidth limit to entire RaQ4
- From: "Dave" <hexy@xxxxxxxxxxxxxx>
- Date: Thu Sep 26 11:00:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Gidday All,
I'm trying to figure out how to limit an entire RaQ4 server to a maximum
bandwidth capacity through all IP Addresses, Sites etc... I've been looking
through the archives, but they're really only talking about the rate
sites/ip's should be limited too.
The program the UI uses to apply bandwidth limits is "/sbin/bw_setip" and if
(256 kbps * 1000 / 8 bits) = 32000 Bps (hope that's right :) to limit a
server to 256kbps max bandwidth then...
the command should be something like (or hopefully exactly like):
# /sbin/bw_setip -i 0.0.0.0/0 -p tcp -t rw -b 32000
bw_setip help message:
<snip>
[admin admin]# /sbin/bw_setip -h
bw_setip: set an IP based bandwidth limit
usage: bw_setip [-h] -i addr_spec -p proto_spec -t rw [-b bps] [-d]
-h: print this message
-i addr_spec: limit host or address, optional trailing '/mask'
-p proto_spec: 'protocol/port' specifier, port optional
-t rw: read/write limit, 'r', 'w', or 'rw'
-b bps: byte limit per second
-d: delete an existing limit
</snap>
Can anyone shed any light no whether this is the right approach? Would it
work? Is their a better way (apart from applying a limit through a router.)?
Rgds,
Dave