0

I have made a small LAN network with a ubuntu squid proxy server. The proxy server runs in my laptop with VMware where it is placed in between the ADSL router and 4 port switch. I have added 3 user pcs to the switch as in the below LAN diagram. The connection for the switch goes through my server laptops ethernet port while setting up in this way the connection of the LAN works successfully, also the LAN users are able to access the internet through squid proxy server all the ACL restrictions too work fine. I wanted to know is there any possibility of monitoring the users Internet bandwidth in this network?

I used iftop and nethogs but it only monitors the eth0 bandwidth. I want to monitor per user as in the network , please help me out if there's a way

Connection details

  • Internet Connection to the server laptop is through wifi
  • Ubuntu server uses DHCP
  • LAN users gets their ip by DHCP
  • LAN user can ping to my server IP address
  • Internet Connection for the LAN users works

This is the LAN network design

enter image description here

0

The most effective solution for this is to use the Wireshark packet sniffer. This allows you to sort packets on port, protocol, IP, and view streams of packet / packet info. Unfortunately this does not give you an instant overview of web pages for example, but there are a lot of tutorials available to help you get started with Wireshark.

There is a guide on how to install Wireshark in Ubuntu here.

Download Wireshark

Wireshark Beginner's Tutorial

  • Thanks for the reply budy , well thing is i need to monitor the bandwidth of the users from the server lap itself. Like monitoring them from the ubuntu server , im using the squid proxy server for these LAN users so if theres away to monitor them from the squid prxy would be great as per my requirement. – Ahamed Sajid Apr 25 '16 at 7:57
0

I would give Pandora FMS a try, specially since they've reinforced their network monitoring capabilities by incorporating Netflow monitoring.

  • 1
    If your devices are not compatible with Netflow, I suggest trying the IPTraf plugin they have on the Pandora FMS library. – bennywhelsh Apr 25 '16 at 14:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.