[mrtg] Re: more than one IP address on one eth

Gary Smith gary at primeexalia.com
Wed Jul 14 01:28:48 MEST 2004


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: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Igor Smitran
Sent: Tuesday, July 13, 2004 4:03 PM
To: mrtg at list.ee.ethz.ch
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:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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



More information about the mrtg mailing list