                Using the PC NeTraMet Meter

                Version 4.1.0,  Mon 24 Nov 97

                      Nevil Brownlee
                ITSS Technology Development
                The University of Auckland
 
                 n.brownlee@auckland.ac.nz


This ntm41-pc.zip file contains most - if not all - of the
files you need to set up and run the 16- and 32-bit version
of the PC NeTraMet meter. 


Hardware requirements

The 16-bit meter will run on a 386 with 640 kB of memory.
The 32-bit meter requires at least a 386 with 4 MB of memory.

If you are buying a new PC for use as a meter, I suggest a 
minimum of a 75 MHz Pentium with 8 MB of memory.  You should
use the 32-bit meter rather than the 16-bit one.


Installation Instructions

1) Format a high-density floppy disk as a system (bootable) disk.

2) Unzip this file with the -d option onto the floppy disk; this
   will create directories called WINDOWS, DRIVERS and NETRAMET.

3) Edit the wattcp.cfg file so as to set the IP address, netmask
   and gateway addresses, and the domain name to those which are
   correct for your meter.
   
4) Edit the pd.bat file so that it is correct for the ethernet
   card(s) you are using.  The DRIVERS directory contains packet
   drivers for NE2000, SMC_WD and 3C509 cards; these have been
   modified so as to support NeTraMet's 'high-performance packet
   driver' option.  If you are using any other kind of ethernet
   card you'll have to copy a packet driver for it into this
   directory.
   
   NeTraMet can handle up to 4 ethernet cards.  You'll need a
   line for each card in the pd.bat file, with different sofware
   interrupts for each.  I find interrupts 120, 121, 122 and 123
   (decimal) work properly.

   Note that the 32-bit version requires the packet driver(s) to
   be loaded in low memory.  Loadhigh will NOT work!
   
   Details of the '4 ethernet' option are given in the 
   version.history file (in the doc/NeTraMet directory of the
   NeTraMet distribution).
   
5) If you will be using the 32-bit NeTraMet, you will need to
   copy two files from your meter PC's WINDOWS directory into
   the WINDOWS directory of the floppy.  The files are
   HIMEM.SYS and EMM386.EXE.  They are required to support the
   32-bit environment for NeTraMet.
   
   If you will be using the 16-bit NeTraMet, you should comment
   out the lines in congif.sys which refer to the WINDOWS files.
   
6) In the NETRAMET directory, edit the acct.bat file so as to
   specify the startup parameters.  For example

      ntm32  -f80000  -w write-com  -r read-com
      
   Simplest case.  Uses 32-bit meter on a single interface, with
   write community 'write-com' and read community 'read-com.'
   The maximum number of flows in the meter will be 80000.
   NB: you should NOT leave the read community as 'public' !
   
      ntm16  -h120 -h121 -I122  -w write-com  -r read-com

   Uses 16-bit meter to measure flows on high-performance-driver
   interfaces using interrupts 120 and 121, while using ethernet
   122 for IP communications with the meter.  No metering is
   performed on interface 122.  The default number of flows on the
   16-bit meter is 2000.