QOS
i want to priorize UDP on eth0 internal and eth1 external interfaces. which command i have to use? can u write me an example?
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi all,
I'm a newbbie in this kind of things.
I need an example to configure QOS over a WAN for http, telnet and ftp or a web-interface aplication to start working with QOS. (such as webmin with iptables, but for tc).
Thanks in advance
Alem.
Quoted 7 lines · alem
Hi all,
I'm a newbbie in this kind of things.
I need an example to configure QOS over a WAN for http, telnet and ftp or a web-interface aplication to start working with QOS. (such as webmin with iptables, but for tc).
I have no real-world examples, but you can find some working scripts on www.docum.org. I also have a very limited GUI. You can find an example on
http://home.docum.org/qos/. It's working, but that's all :) I have to debug it and I still have to finish the filter part.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi,
I am trying to setup the wondershaper script or some other type of qos on my Slackware 9 machine.
I need the ability to limit my upload speed so that my ftp server doesnt fill my bandwith and slow down my download.
I guess I have run into a wall because it seems that my kernel (Stock Slackware 9) does not support QOS. I have no idea what to do.
Any help out there?
Mark
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 10 lines · Mark
Hi,
I am trying to setup the wondershaper script or some other type of qos on my Slackware 9 machine.
I need the ability to limit my upload speed so that my ftp server doesnt fill my bandwith and slow down my download.
I guess I have run into a wall because it seems that my kernel (Stock Slackware 9) does not support QOS. I have no idea what to do.
You need a kernel that supports qos. And the tc program, part of the iproute2+tc package.
For more information, see www.docum.org and www.lartc.org.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
U need to enable qos in the kernel. slackware 9.0 is having 2.4.20 kernel but by default slackware dont install the kernel-sources so u need to download kernel sources and then enables qos in kernel.
Joel
Quoted 18 lines · Mark
Quoted 14 lines
Hi,
I am trying to setup the wondershaper script or some other type of qos on my Slackware 9 machine.
I need the ability to limit my upload speed so that my ftp server doesnt fill my bandwith and slow down my download.
I guess I have run into a wall because it seems that my kernel (Stock Slackware 9) does not support QOS. I have no idea what to do.
Hi.
I´m making an script for load balancing of two
cablemodems internet connections toward my LAN.
The problem is that when I try to 'equalize' the the two internet connections with the weight=1 it doesn´t work. On the other hand, if I put 5 and 5 it works, but not at 100%, it does intermittlently, some times works and others don´t.
example:
ip route add default equalize\
nexthop via $P1 dev $IF1 weight 5\
nexthop via $P2 dev $IF2 weight 5
Besides, when I open, for example, the firefox browser, it takes a lot to start navigating, sometimes it works and other times gives an error and I can´t navigate.
From the server it works properly, but form the clients PCs doesn´t.
By the way, I´m making NAT toward the Client PCs.
Do you have any idea why does it take so long to start navigating and why sometimes it works and sometimes doesn´t.
This is the current script running in my server:
#=================================================
P0_NET=10.0.1.0/24
IF0=eth1
IP0=10.0.1.1
IF1=eth0
IP1=xxx.xxx.xxx.7
P1_NET=xxx.xxx.xxx.0/24
P1=xxx.xxx.xxx.1
IF2=eth2
IP2=yyy.yyy.yyy.21
P2_NET=yyy.yyy.yyy.0/24
P2=yyy.yyy.yyy.1
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter
echo 3 > /proc/sys/net/ipv4/route/gc_elasticity
echo 1 > /proc/sys/net/ipv4/route/gc_interval
echo 0 > /proc/sys/net/ipv4/route/gc_timeout
ip route flush cache
ip route flush all
ip route flush table modem0
ip route flush table modem1
ip rule add from $IP1 lookup modem0
ip rule add from $IP2 lookup modem1
ip route add $P1_NET dev $IF1 src $IP1
ip route add $P2_NET dev $IF2 src $IP2
ip route add $P0_NET dev $IF0 src $IP0
ip rule add from $P1_NET lookup modem0
ip route add $P0_NET dev $IF0 table modem0
ip route add 0/0 via $P1 table modem0
ip rule add from $P2_NET lookup modem1
ip route add $P0_NET dev $IF0 table modem1
ip route add 0/0 via $P2 table modem1
ip route add default equalize\
nexthop via $P1 dev $IF1 weight 5\
nexthop via $P2 dev $IF2 weight 5
#=================================================