We did this in Linux using iptables. We setup a rule for each IP in IP tables for incoming and outgoing (for us it was the FORWARD chain). The rules that we created were called IN and OUT. Then we do a iptables-save -C >somefile (with awk filtering for IN and OUT only). This runs every 1 minute.
The we have a perl script that mrtg calls with the parameter of which IP to get the stats on. It isn't elegant but it works. We have 126 IP's that we report on and it works just fine. Gary Wayne Smith -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Smitran Sent: Tuesday, July 13, 2004 4:03 PM To: [EMAIL PROTECTED] Subject: [mrtg] more than one IP address on one eth Hi, i have one eth and NAT-ed addresses behind that (192.168.0.*) Every address is diferent client. I need to monitor every address and different grafs for every address. Is there a way to do that? Regards, Igor -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
