On Wed, 25 Feb 2004 01:39:01 +1100, Malcolm Function wrote:
Log usage of what? Couldn't resist asking :-)
Since a switch isolates traffic, there is no common path except between
the switch and the modem. You can install monitoring tools on each PC
but will not see a total for all PCs.
You didn't say what model of modem / switch or anything about OS on PCs.
If you had a ADSL router (in place of the switch, as they usually
contain 4 port switches) some of the home / small office routers log /
block / alert on specific site / keywords. That's a fairly high level
type of reporting / monitoring.
It's possible to put another PC between the ADSL modem-Switch using a
hub (which is a common shared connection) or 2 network cards you could
then install any monitoring software on that.
http://www.dslwebserver.com/main/diagram-nat-hub.html
If your modem (/ router) has SNMP http://webopedia.com/TERM/S/SNMP.html
already, then something like this setup
http://www.dslwebserver.com/main/dia...rt-router.html (which is
what I have) MRTG http://people.ee.ethz.ch/~oetiker/webtools/mrtg/
(runs using perl , http://www.activestate.com/ ) should be able to
access the traffic in/out data. Example page,
http://www.stat.ee.ethz.ch/mrtg/
Monitor what between the PCs? HTTP i.e. web based traffic, file
transfers. For Linux and Windows systems, packet (traffic) monitoring
can be done with Ethereal , http://www.ethereal.com/ , Windows sytems
Analyzer from http://netgroup-serv.polito.it/netgroup/tools.html
Both of those are very low level packet dumps with some reporting of
protocol i.e. TCP totals, HTTP etc.
Others,
http://www.analogx.com/contents/down...etwork/nsl.htm
http://www.networklab.co.uk/cmodem/netmon.html
diagrm showing difference between hub / switch monitoring. A good read
and shows an example of how to extract data from (Linux ifconfig
command) and MRTG example as well.
If you find something you like, (a free tool you install on each PC)
that produces a log file, you should even be able to write a script to
sum from the 3 data files and manually stuff it into MRTG to produce
your own graphs.
Then there are pages of other tools, more than you should ever need.
http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools.html
http://www.paley.com/search/bandwidth%20monitor.html
Protocol reporting, like HTTP, NNTP, NTP, etc can be seen with something
like Network Probe http://www.objectplanet.com/Probe/
This will show external / external traffic converstaions. So if you know
the MAC address of the ADSL modem interface it should total all traffic
going that way. It must also be on a PC between the ADSL modem-Switch as
it only sees traffic on the cable on the PC it's running on.
Is it a fixed monthly / day limit you want to check against?
On a per PC basis there is, http://www.idyle.com/ Bandwidth Monitor.
This will include any transfers between PCs and not just to/from the ISP
You won't get an overall ISP total, unless it's running between the ADSL
modem-Switch.
Speed capping, paste of previous post -
In no particular order, previous posts of mine.
http://groups.google.com/groups?q=ba...u thor:why%3F
1)
Use a Linux box as the gateway, there are some traffic shaping tools
available.
As usual try www.google.com and some of the Linux news groups.
http://lartc.org/
http://linux.oreillynet.com/pub/a/li...inuxAdmin.html
2)
From a previous post of mine, this little box lets you set limits on
bandwidth usage.
===paste===
Also a hardware device, GBP £1200 unit from www.blackbox.co.uk that
has BW management for 10Mbps Ethernet.
datasheet 10164 for
IP Mux II , product code LE1025C
datasheet code 24435 for
Bandwidth Manager, don't have the part code, try the datasheet.
===end paste===
If you go for the Linux method, not only do you get traffic shaping i.e.
it's possible to (assume ADSL is 1Mbit/sec) set PC1 500kbit/sec (50%)
and PC2/3 limited to 250 each (sharing the remaining 50%). Perl is
included, MRTG goes on easily. The reporting from the firewall log can
be manipulated and graphed as well. This would allow not only traffic
in/out but lets you count HTTP, Kazza and other traffic levels for
specific applications.
Me