Re: [LARTC] Need some help on HTB and IMQ

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hare,

 : i was going through this thread you mentioned if iam using this Linux
 : box as a gateway, i dont required IMQ to control ingress and egress how
 : can do with out IMQ, can you point me
 :
 : i have 2 interface eth0 and eth1 like to control bandwidth for my users
 : both up and down

Since the router can only shape traffic it sends, you can shape your
outbound (upload) traffic on your Internet connected interface, and you
can shape your inbound (download) traffic on the internal interface as you
transmit to your internal network.  Another way to shape the download
bandwidth is to use policing or ingress filters with IMQ.

  http://linux-ip.net/htb-script

As Mohan explained, traffic control can delay packets already received
from the Internet before sending them to the internal network application,
thus simulating a user-specified download bandwidth.  Similarly, upload
bandwidth can be controlled/shaped by delaying packets bound for the
Internet before sending them up to the gateway.

By the way, Stef is on vacation this week.  I believe he said he'd be
skiing.

Good luck,

-Martin

P.S.  I'm thinking of changing my name to "A-router-can-only-shape-the-
      traffic-it-sends."  I forgot this *again* when I was writing this
      script.  Maybe then I'd remember!

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@xxxxxxxxxxxxxx



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux