Re: shaping: dividing bandwidth between router & NAT hosts

green <[email protected]>
Newsgroups gmane.linux.debian.devel.firewall
Message-ID <20100312175608.GR10417@swansys>
green wrote at 2010-03-04 22:35 -0600:
> Alex Samad wrote at 2010-03-04 16:18 -0700:
> > On Thu, 2010-03-04 at 15:17 -0700, green wrote:
> > > green wrote at 2010-02-12 08:03 -0700:
> > > > An automatic detection of down/up bandwidth would be great...
> > > 
> > > Is it even possible to implement traffic shaping without knowing the available 
> > > bandwidth?
> > 
> > If you setting to fix limits why not ?
> 
> I'm not setting fixed limits, I am prioritizing traffic by type/connection/IP.
> 
> > > For example, can I set up egress shaping on the internet interface without ever 
> > > specifying a bandwidth limit?  In that case will the queues be always empty?

At some point in my research, I seem to have answered my question.  Some of 
this came from LARTC and some from elsewhere (which I can't find now).

For the root qdisc, shaping must occur when a high speed interface is connected 
to a slower device (like a cable modem).  Otherwise the queue is in the cable 
modem rather than in the Linux device.

I am assuming then that shaping is not necessary when the interface is to a 
client device, like ethernet or wireless to another host.  That is, something 
like SFQ will work without being under a HTB rate-limiting qdisc.

(I think there is a proper way to differentiate between these two types of a 
connections...?)
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuagDgACgkQ682C+dBP+oRn6gCeKQ7Ki0AQCf+5W9gRoQntJJGt
axwAoN3JHz8HlMBgDq2iZ/ZRIhGdkYM+
=NxlM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.