[LARTC] Server and router on the same box
Andreas Klauer
Andreas.Klauer at metamorpher.de
Thu Jul 7 06:39:18 CEST 2005
On Wednesday 06 July 2005 22:53, o7sh at actcom.net.il wrote:
> it will be nice that when the web-server is not using any upstream, LAN
> clients will enjoy full bandwidth.
Somehow I doubt that traffic shaping is the right approach here; after all,
we're talking about traffic on two different interfaces. There is no need
to do shaping in that situation, because there is no way that traffic on
interface A interferes with traffic on interface B (unless one is a
virtual interface that actually uses the other to transfer).
Even if you put HTB on interface A, this qdisc has no way of knowing how
much load there is on another interface. To shape multiple interfaces at
once, you'd have to cheat by using IMQ or something like that.
If the fast transfer rates of the LAN puts too much load on your web
server, the only thing you could do with traffic shaping here is to limit
these transfer rates to a lower value at all times.
A better method would be to configure this in the webserver; tell the
webserver that internet clients are more important than LAN clients.
Depending on which webserver you use, this might be possible or not.
HTH
Andreas
More information about the LARTC
mailing list