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]

 



> To make upstream fully available to your webserver, I suggest using a PRIO
> qdisc with 2 bands... band one for webserver traffic, band two for
> everything else.
>
> The PRIO qdisc will make sure that your webserver always gets to send his
> packets first. LAN traffic will only be allowed to send when the webserver
> sent all his packets.
>
Hi again..
it sounds like just what I need but I find it hard to implement.
Here are my rules:
-----
tc qdisc add dev ppp0 root handle 1: prio
tc filter add dev ppp0 parent 1:0 protocol ip prio 1 u32 match ip sport 80 
0xffff flowid 1:1
tc filter add dev ppp0 parent 1:0 protocol ip prio 3 u32 
-----
I've been testing this for a while. But still got the dowload running while 
the upstream was full...
Can you explain why?

_______________________________________________
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