Re: Server and router on the same box

Linux Advanced Routing and Traffic Control

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

 



On Wednesday 06 July 2005 22:53, o7sh@xxxxxxxxxxxxx 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
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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