Re: [LARTC] Re: How to deal with burstable bandwidth from ISP ?

Linux Advanced Routing and Traffic Control

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

 



On Tuesday 29 July 2003 10:57, Rio Martin. wrote:
> On Tuesday 29 July 2003 15:34, Stef Coene wrote:
> > Then it's better to create a separate class for it and put your ssh
> > traffic in it.
>
> okay, i 'll do it your way ..
>
> > > I am still learning about fw mark to shape both incoming and outgoing
> > > bandwidth from my network.
> >
> > Incoming traffic can be tricky.  You need the imq device or a dedicated
> > shaper for it so you can shape on 2 nic's.
>
> for marking outgoing from local network, i put those rules in POSTROUTING.
> i just want to know how about marking for downstream connection (from
> internet to my local network), where should i put this rule ? Note that i
> use different router for incoming and outgoing connection (multipath
> routing)..
It depends on how you want to mark, if you are natting, make sure you mark 
after the demasqueing so you know the real dst ip address.

> > Then you have a problem.  You can not configure this with htb because you
> > don't know the ISP bandwidth.  However, you can create a setup for 1024
> > kbps. You will loose some precision because you are not the bottleneck
> > anymore, but you will able to shape your link.
>
> Just a thought in my mind, script work ? latency check ?
> i need to figure this out, because all local ISP seems to be applied this
> kind of rule to make price for Internet bandwidth more cheaper ..
Mhh.  Even if you don't know the bandwidth, you still can shape.  It's better 
to shape something then you don't shape.

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



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