Skip to Content
Linux Network Administrator's Guide, 3rd Edition
book

Linux Network Administrator's Guide, 3rd Edition

by Tony Bautts, Terry Dawson, Gregor N. Purdy
February 2005
Beginner to intermediate
362 pages
11h 59m
English
O'Reilly Media, Inc.
Content preview from Linux Network Administrator's Guide, 3rd Edition

Chapter 8. IP Accounting

In today’s world of commercial Internet service, it is becoming increasingly important to know how much data you are transmitting and receiving on your network connections. If you are an Internet Service Provider and you charge your customers by volume, this will be essential to your business. If you are a customer of an Internet Service Provider that charges by data volume, you will find it useful to collect your own data to ensure the accuracy of your Internet charges.

There are other uses for network accounting that have nothing to do with dollars and bills. If you manage a server that offers a number of different types of network services, it might be useful to you to know exactly how much data is being generated by each one. This sort of information could assist you in making decisions, such as what hardware to buy or how many servers to run.

The Linux kernel provides a facility that allows you to collect all sorts of useful information about the network traffic it sees. This facility is called IP accounting.

Configuring the Kernel for IP Accounting

The Linux IP accounting feature is very closely related to the Linux firewall software. The places you want to collect accounting data are the same places that you would be interested in performing firewall filtering: into and out of a network host and in the software that does the routing of packets. If you haven’t read the section on firewalls, now is probably a good time to do so, as we will be using some ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Network Administrator's Guide, Second Edition

Linux Network Administrator's Guide, Second Edition

Olaf Kirch, Terry Dawson
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 0596005482Errata Page