lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

ip/interface statistics from router for clients behind it

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> General
Author Message
admo
Initiate


Joined: 20 Jan 2006
Posts: 1

PostPosted: Fri Jan 20, 2006 5:38 pm    Post subject: ip/interface statistics from router for clients behind it Reply with quote

Hi,
I have on linux router (internet)eth0:192.168.0.0/30 (lan)eth1: 192.168.0.0/24 (of course ip are public + proxy arp). I want login with snmp on router and get statistic each bandwidth client -Is it possible ? - Normally we can get statistics each interface, but may I get ip behind router?

Thanks
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Fri Jan 20, 2006 7:29 pm    Post subject: Reply with quote

By far the easiest way to get bandwidth usage per-device (be it a person's PC, a printer, server, etc) is to get a managed switch. This way you can get per-port bandwidth statistics just as you're used to monitoring your linux router.

Without that option, you could do something like write some iptables rules (see this guy's example) and have the output of "iptables -v" either read into a mysql table by a script, or have some script that can give you either the "in" or "out" for each IP that netmrg can call (given netmrg is running on your firewall).

If this sounds like something you'd be interested in trying, let us know and we'll help you through the details.

-Doug
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> General All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group