LinuxQuestions.org
Help answer threads with 0 replies.
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 08-19-2007, 04:17 PM   #1
utahnix
Member
 
Registered: Dec 2006
Location: Utah, USA
Distribution: openSUSE
Posts: 72

Rep: Reputation: 15
Bandwidth throttling, NAT questions


I have a Linux computer acting as gateway on our private subnet (static masquerade). It works great, but I have a concern...

We get Internet access through a DSL connection. This connection allows the office employees access the Internet, but also lets web viewers get to our website(s), located on a server on the same public subnet that this gateway PC is on.

My concern is that there is occasionally a tug-o-war between the gateway and server (both Linux). Both are vying for the available traffic.

So, I would like to throttle (as much as possible anyway) bandwidth on the gateway box and am not sure how to go about it.

I have iptables performing the masquerade on this gateway box. I have read about the 'tc' command, but I am having a hard time understanding how it works.

Is there an easy way to do this? If so, can you point me in the right direction? Most of the primers I have found deal with other situations or are overly complicated.
 
Old 08-20-2007, 12:01 PM   #2
jeenam
Member
 
Registered: Dec 2006
Distribution: Slackware 11
Posts: 144

Rep: Reputation: 15
Traffic shaping is what you're looking for:

http://lartc.org/

It does take a bit of work to get going.
 
Old 08-20-2007, 12:03 PM   #3
jeenam
Member
 
Registered: Dec 2006
Distribution: Slackware 11
Posts: 144

Rep: Reputation: 15
Here's another link for more info, using a different approach:

http://blog.kovyrin.net/2006/04/06/5...x-shaping-htb/
 
Old 08-20-2007, 09:25 PM   #4
utahnix
Member
 
Registered: Dec 2006
Location: Utah, USA
Distribution: openSUSE
Posts: 72

Original Poster
Rep: Reputation: 15
I have already read most of the materials on this site and it is a bit over the top. I'm not a networking novice, but I think the documentation provided by the link above assumes you are a hard core Linux guru with many years of Linux experience.

IMHO, it does a poor job of explaining anything in layman terms.

That's why I was hoping there was (1) another alternative to the tc approach all together, or (2) another tutorial which could explain the whole thing in more verbose terms.

One of the most inherent problems with virtually IT documentation is that the authors only know how to explain things in tech lingo and often can't say anything in layman terms.

For the most part, I understand the IT documentation I read, as I have been involved in IT for some time. But those learning IT concepts could be made so much easier if authors learned how to better communicate with others. This complicates the already steep Linux learning curve.

With that said, is there another source you recommend which could be used in hand with the ones above? I get the general gist of what the author is saying (I understand TCP/IP), but when he starts throwing out commands and how traffic control is handled on Linux he assumes the reader knows more than they typically does and that's where I get lost.
 
  


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
bandwidth throttling?? large_satchell Linux - Networking 10 09-22-2006 01:54 AM
bandwidth throttling bhogalts Linux - Networking 1 05-10-2006 02:57 AM
bandwidth throttling z0mb1 Linux - Networking 4 11-27-2005 07:20 AM
Bandwidth throttling joeljkp Linux - Networking 4 07-28-2005 12:59 PM
bandwidth throttling greenmeanie Debian 1 07-10-2005 09:06 PM

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

All times are GMT -5. The time now is 03:10 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