Thank you very much for answer,
There ASCII picture of mine network:
Clients Clients
| |
eth1, eth1:0 eth2, eth2:0
| |
---------- ---------- ----------
|server 1|--eth0-------eth2--|server 2|--eth1-------eth0--|server 3|
| AS 2 | | AS 2 | | AS 2 |
| pmacct | | pmacct | | |
---------- ---------- ----------
| |
eth3 eth0
| |
AS 1 AS 1
| |
Internet Internet
Here:
server 1:
eth1 - 193.238.116.66
eth1:0 - 192.168.4.245
eth3 - 195.5.60.45
server 2:
eth2 - 193.238.116.65
eth2:0 - 192.168.4.250
eth0 - 195.5.60.45
server 3:
eth0 - 193.238.116.3
On server 3 installed mail server and www server
As can see from picture, if Client come from eth1 and go to server 3 it
will counted 2 times.
May be present mechanism to mark packets, that already been accounted by
pmacct ?
Also i want to account different traffic by different tarif plans, but i
have idia do it by your example about pretag.