Tracking data usage according to route marking / interface

Hi,

Is it possible to filter the Download & Upload amount according to a certain routing marking or outgoing interface?

The reason I want to be able to do this is: I have 2 outgoing PPPoE connections: 1 for international (expensive) and 1 for local destinations (cheap)
and I want to bill the clients accordingly. The local/international PPPoE connections are selected according to the destination IP address - roughly 600 IP range blocks to distinguish them :frowning:

I guess my only option would be to have a PHP/MySQL webserver interpreting the Source/Destination IP addresses that the IP → Accounting snapshot shows?

Regards
Chris