LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-22-2010, 03:53 PM   #1
miragej
LQ Newbie
 
Registered: Nov 2008
Location: South Wales, UK
Distribution: Debian 6, Ubuntu 10.04
Posts: 25

Rep: Reputation: 0
Traffic Shaping/Policing Linux Router


Hi guys, I have a bit of a scenario that I'd like help with.

I am currently running a debian box as a router. With a pretty simple configuration





Internet --- Modem --- Linux Router --- Switch --- PC, Laptop, etc




The main reason I decided to do this was just for a challenge. I'm a first year networking student in university, so I fancied putting some stuff that I'd learnt into practice.

While the linux box acts as a firewall, I also have a couple of services running on it, including a web server, samba etc.
I also have torrentflux on it, downloading torrents and allowing them to be accessed through samba.

What I'd like to be able to do, is to have torrents downloading constantly on the server, but to give bandwidth priority to all external devices, so that the torrents would only download using "spare" bandwidth, or all of the bandwidth when no other device is using the internet.

I have had a read through http://lartc.org/ and to be honest, it's a bit over my head at the moment, and I couldn't specifically find what I was after.

If anyone could spare some time to provide a "dumbed down" (but not too much, I'm not an idot haha) way of doing what I require, then it would be much appreciated.

Thanks a lot,
Josh
 
Old 03-22-2010, 07:55 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Try: man tc
May be it will be easier.
 
Old 03-23-2010, 06:05 PM   #3
miragej
LQ Newbie
 
Registered: Nov 2008
Location: South Wales, UK
Distribution: Debian 6, Ubuntu 10.04
Posts: 25

Original Poster
Rep: Reputation: 0
I've been doing some more reading tonight, and I think I need to be using the ingress gdisc, but have no idea of where to start in configuring it.

Does anybody have any experience with this?

Thanks
 
  


Reply



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
CPU utilization on a busy traffic shaping router robel Linux - Networking 8 09-28-2010 03:25 AM
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM
linux auth + traffic shaping server xaviero Linux - Server 4 11-06-2007 11:12 PM
Traffic Shaping With Linux marvin00001 Linux - Networking 1 02-19-2006 12:59 PM
Traffic Shaping With Linux marvin00001 Linux - Networking 1 09-21-2005 05:08 AM

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

All times are GMT -5. The time now is 12:14 AM.

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