Net Flow Setup

1.    General Information
2.    Installation
    2.1    Configuration
    2.2    Importing the Info to RODOPI's Database
3. Billing for Net Traffic


NOTE: This feature in RODOPI is available only for Internet Service Providers that have the following Cisco's routers with the corresponding IOS.

Cisco IOS Software Release Version Supported Cisco Hardware Platforms
11.1CA, 11.1CC S7200, 7500, RSP7000
11.2, 11.2P 7200, 7500, RSP7000
11.3, 11.3T 7200, 7500, RSP7000
11.2P Route Switch Module (RSM), 11.2(10)P and later
12.0, 12.0T 2600, 3600, 4500, 4700, 7200, 7500, RSP7000, RSM

General Information

RODOPI is using Cisco's NetFlow technology to gather information for the net traffic. In general the NetFlow technology exports data for the net traffic that passed through the router in any direction. The RODOPI collector application listens for that data and gathers information for the traffic generated by a specified IP address or for a group of IP addresses. Later this info is transferred in the RODOPI database and you can bill your customers on a traffic based basis. For more information on Cisco's NetFlow technology visit their site

Installation

First install the Net Traffic Collecting Application (NetTrafficCollector.exe) on a Windows NT machine. Start the application and click the start button. From this moment the netflow collector is listening for packets. Now you need to configure it. Go to your Rodopi installation to the "Administration | Configuration" page. In the "Others" section in the field NetFlow IP enter the IP address of the machine where the NetTrafficCollector.exe is running.

Example:

Other:
Credit Card Authorization: (on subscription)
Credit Card Address Verification: (on subscription)
Netscape Navigator Dial-Up Kit: (on subscription)
Plan Details Log History: days
Send Letters Password:
Charge for Roaming:
NetFlow IP:
Ignore the POP name for the
default domain:
(on subscription)

 

 

The next step is to configure your Cisco router to export NetFlow data to that NT machine. Use the Cisco documentation for this.

Configuration

From "Administration | NetFlow Setup" page you can set up everything for net traffic collection.
The first section concerns the setting for the Traffic Collecting Application. Here is the meaning of the fields:

Follows a section where you provide information for the log file.

Example:

Traffic Collector's Settings:

Listen for Router on Port:
Router IP: . . .
Buffer size for incoming Router data:

Log File Settings:

Log file name:
Flush memory every: minutes.

You apply the changes by pressing the Save Button.
Follows a list with the IP addresses and ports. These are the IP addresses that you want to measure for net traffic. You specify lower and upper limit of the IP and for port numbers. If you want to measure the Web traffic of a machine that has IP = 123.123.123.123 you enter 123.123.123.123 for From IP and 80 for From Port and you enter 123.123.123.123 for To IP and 80 for To Port

Note:0 in either From Port or To Port means that the traffic will be measured for all ports.
Now another scenario. If you want to measure the traffic for a group of sequential IP and for all ports you do not have to enter them one by one. For example if you want to measure the traffic for 5 machines with IP respectively 123.123.123.100, 123.123.123.101, 123.123.123.102, 123.123.123.103, 123.123.123.104 you enter 123.123.123.100 for From IP and 0 for From Port and you enter 123.123.123.104 for To IP and 0 for To Port.

Also for each entry you specify the protocol. Any means that the application will collect the traffic generated by any protocol. However you can specify one or more of the other protocols (ICMP, TCP or UDP). When you are done press Save to add this (these) IP to be measured.

Example:

Nr. From IP From Port To IP To Port Any ICMP TCP UDP  
1 208.137.248.7 ANY 208.137.248.70 ANY X      
2 208.137.248.13 ANY 208.137.248.103 ANY X      
3 208.137.248.16 ANY 208.137.248.126 ANY X      
4 208.137.249.6 ANY 208.137.249.60 ANY X      
5 208.137.249.6 ANY 208.137.249.65 ANY X      
6 208.137.249.7 ANY 208.137.249.70 ANY X      
45 216.55.177.23 ANY 216.55.177.2 ANY X      
46 216.55.177.244 ANY 216.55.177.252 ANY X      
  . . . . . .

Importing the Info to RODOPI's Database

As it was mentioned the Traffic Collecting Application generates a log file. You have to set up the default filter that comes with RODOPI to read the info from that file and to import the traffic usage.
If you have not set up the filter yet here is the procedure:

  1. Go to "Administration->Usage Filters->Filter Installations" page.
  2. Click the Logs button for the Default Usage Filter.
  3. Click the Add button.
  4. On the new page enter the directory where the log file is located in the "Directory URL". If the log file and the filter are on one and the same machine just enter the directory. If they are on different machines you have to enter the FTP location of the file. Note: enter only the directory name without the file name.
  5. Enter the file name in the field "Mask".
  6. Select the delay. A good value is 30 minutes or greater.
  7. Enter a next run date.
  8. Leave empty the field "CommonIPHost".
  9. In the field "LogFileType" enter NetFlow
  10. For the max count enter a valid number. We suggest 1000.
  11. Save the changes, by pressing Save button.

In case you want to change some of the settings press Edit button form the "Usage logs" page.

Example:

Edit Usage Log and its Parameters

Filter Description: Default Usage Filter
Filter Installation URL: http://rodopi.yourdomain.com/cgi-bin/usage/simplelogfilter.exe
Usage Log:
Directory URL:
Mask:
Delay:
Next Run:
Parameters:
Name Value
CommonIPHost
LogFileType
MaxCount

Billing for Net Traffic

In order to charge for net traffic you have to do the following:

1. Create a new Usage Info with Net Traffic MB as unit type. Example:

New Usage Info Help

Period: x    Unit type:
Desc:


Units Included Price Included Units Increment Price Increment


Create a new Plan Info that has assigned the above mentioned Usage Info or assign the usage info to existing PlanInfo.

Now when you subscribe new customer in Filter Search / Plans you will see netflow info section where you can specify this customer IP addresses.