Traffic graph by ip



  • Hi
    I was wondering if there is any package that show graph or only data by ip, so i know whos downloading & filling up the line. I tried Bandwidthd but its only daily data. I need current stream by ip.



  • Darkstat, or install the iftop FreeBSD package and use that from the console.



  • I tried darkstat, but it only shows whole bandwidth not per ip(or i dont know how) and i cant find iftop between packages.



  • bandwidthd my friend. I know there are others that will do it as well but that is one that I have used. There are about half a dozen packages that'll do it though. Play around with them, find which one you like, install them all, you can uninstall them later.


  • Rebel Alliance Developer Netgate



  • I'm using pfSense with 5 network interfaces. Each interface provide services for different sublans:

    fxp0: WAN interface
    fxp1: 192.168.1.0/24
    ...
    fxp4: 192.168.4.0/24
    

    Is it possible to count all traffic (not only HTTP, but also TCP, UDP, …) and show graph and data by each ip in sublan separately in all interfaces?
    If it's possible, how to realize this?



  • @PetrEA:

    I'm using pfSense with 5 network interfaces. Each interface provide services for different sublans:

    fxp0: WAN interface
    fxp1: 192.168.1.0/24
    ...
    fxp4: 192.168.4.0/24
    

    Is it possible to count all traffic (not only HTTP, but also TCP, UDP, …) and show graph and data by each ip in sublan separately in all interfaces?
    If it's possible, how to realize this?

    Did you even read the link jimp provided?
    I would start to find out if what you are doing is possible by reading the answers of other peoples before posting….


  • Rebel Alliance Developer Netgate

    In his defense, I don't think any of the links on the page I wrote talk about running them on many separate interfaces as he describes.

    I know bandwidthd only lets you select one interface. ntop will let you select more than one, but I haven't tested that in a while. I seem to recall it not loading properly or crashing with more than one selected.

    I suppose I should try darkstat to see if it's relevant, too.

    At the very least I should probably note the multiple interfaces issue(s) on the page. I'll add it to my to-do list, and update the page and this thread when I have some results.  :)



  • @GruensFroeschli:

    Did you even read the link jimp provided?
    I would start to find out if what you are doing is possible by reading the answers of other peoples before posting….

    Certainly I read it. But I was not able to configure Bandwidthd to count traffic on  a few interfaces, only on one inerface. With ntop it's also failed because ntop worked extremely unstable.


  • Rebel Alliance Developer Netgate

    After some (admittedly limited) testing, I can say that out of bandwidthd, darkstat, and ntop, ntop is the only one that will listen on multiple interfaces.

    The WebGUI will not show them selected after clicking save, but if you look in the process list it does show it active on all selected interfaces.

    I updated the FAQ entry with what I found:
    http://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage%3F



  • alternative use different vlan id for each and every pc then rrd or the vnstat package can be use for the traffic usage.


Log in to reply