LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-26-2009, 10:03 PM   #1
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Rep: Reputation: 30
Monitoring how much bandwidth each user is using in a small network


Hi,

I have many roommates that are connected to the Internet through a router. Since I download movies from aXXo, I want to use my bittorrent client, whenever nobody else is using the Internet.

I use nmap to scan the network to see how many people are connected. However, sometimes my roommates keep their computers on and don't use it. That's why I am looking for a way to see if I can find out how much of bandwidth they're using.

I'm not quite sure if that is possible. My understanding of the problem is that to achieve that I need to set my computer as a bridge between other computers and the router so that I can easily monitor the bandwidth. However, I don't want my computer to act like a bridge, since it's not on all the time.

My router is a pretty basic one (Netgear WGR614 V6).

Also, I was wondering if there's any way to specify how much of bandwidth each user can use? I checked my router setting page, but I didn't find any options for that.

Any idea how to achieve such feature?

Last edited by mohtasham1983; 02-26-2009 at 10:13 PM.
 
Old 02-26-2009, 11:10 PM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
at minimum, you're going to need a computer with a tap on the link going to the router to capture the netflow. It would have to be online all the time to be accurate.

A cool way to do it would be to get a junker box to run iptables firewall/router... then you can make specific rules to monitor bandwidth for each host. But again, it would have to be on all the time.
 
Old 02-26-2009, 11:35 PM   #3
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Original Poster
Rep: Reputation: 30
I think I was guessing right. I wish my router could provide me all the information about the live bandwidth usage. I also wished that there was a way to set a specific bandwidth to each user based on the available bandwidth using the router alone. I'm not sure if expensive routers can do that or not.
 
Old 02-27-2009, 12:25 AM   #4
ddaemonunics
Member
 
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
You could get a "cheap" Cisco router from ebay.
But this being a linux forum..you could get a pc install some linux distribution on it or maybe a Linksys WRT54g router and put Linux on it.
Linksys WRT54g with Linux on it is the better choice because it's smaller, takes little power to operate and makes no noise
 
Old 02-27-2009, 12:33 AM   #5
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Original Poster
Rep: Reputation: 30
I didn't know I can install Linux for $60 range routers. I'm gonna read and learn about the process of installing Linux on the routers and how they work.

Thanks for the information.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User bandwidth monitoring fancylad Linux - Server 2 04-30-2008 05:35 AM
Network Bandwidth Monitoring winxandlinx Linux - Networking 1 11-13-2006 05:07 AM
network monitoring tools bandwidth beepee Linux - Networking 2 11-03-2006 06:13 AM
Bandwidth monitoring for my network...how? logicalfuzz Linux - Networking 6 09-13-2006 01:05 PM
per user bandwidth monitoring thelight1 Linux - Networking 0 10-26-2003 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration