All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] QOS
@ 2002-04-05  7:12 George Tsuladze
  2002-12-09 14:09 ` alem
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: George Tsuladze @ 2002-04-05  7:12 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [LARTC] QOS
  2002-04-05  7:12 [LARTC] QOS George Tsuladze
@ 2002-12-09 14:09 ` alem
  2002-12-09 18:03 ` Stef Coene
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: alem @ 2002-12-09 14:09 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 256 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1004 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] QOS
  2002-04-05  7:12 [LARTC] QOS George Tsuladze
  2002-12-09 14:09 ` alem
@ 2002-12-09 18:03 ` Stef Coene
  2003-08-20 22:40 ` Mark
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Stef Coene @ 2002-12-09 18:03 UTC (permalink / raw)
  To: lartc

On Monday 09 December 2002 15:09, alem wrote:
> 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

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [LARTC] QOS
  2002-04-05  7:12 [LARTC] QOS George Tsuladze
  2002-12-09 14:09 ` alem
  2002-12-09 18:03 ` Stef Coene
@ 2003-08-20 22:40 ` Mark
  2003-08-21  8:53 ` Stef Coene
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Mark @ 2003-08-20 22:40 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] QOS
  2002-04-05  7:12 [LARTC] QOS George Tsuladze
                   ` (2 preceding siblings ...)
  2003-08-20 22:40 ` Mark
@ 2003-08-21  8:53 ` Stef Coene
  2003-08-21  9:32 ` Joel
  2004-08-01  5:20 ` XMundo - Soporte Tecnico
  5 siblings, 0 replies; 7+ messages in thread
From: Stef Coene @ 2003-08-21  8:53 UTC (permalink / raw)
  To: lartc

On Thursday 21 August 2003 00:40, Mark wrote:
> 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

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] QOS
  2002-04-05  7:12 [LARTC] QOS George Tsuladze
                   ` (3 preceding siblings ...)
  2003-08-21  8:53 ` Stef Coene
@ 2003-08-21  9:32 ` Joel
  2004-08-01  5:20 ` XMundo - Soporte Tecnico
  5 siblings, 0 replies; 7+ messages in thread
From: Joel @ 2003-08-21  9:32 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 656 bytes --]

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

>On Thursday 21 August 2003 00:40, Mark wrote:
>  
>
>>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.
>>    
>>
>
>  
>


[-- Attachment #2: Type: text/html, Size: 969 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [LARTC] QOS
  2002-04-05  7:12 [LARTC] QOS George Tsuladze
                   ` (4 preceding siblings ...)
  2003-08-21  9:32 ` Joel
@ 2004-08-01  5:20 ` XMundo - Soporte Tecnico
  5 siblings, 0 replies; 7+ messages in thread
From: XMundo - Soporte Tecnico @ 2004-08-01  5:20 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 2141 bytes --]

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

#=================================================

[-- Attachment #2: Type: text/html, Size: 2669 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-08-01  5:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-05  7:12 [LARTC] QOS George Tsuladze
2002-12-09 14:09 ` alem
2002-12-09 18:03 ` Stef Coene
2003-08-20 22:40 ` Mark
2003-08-21  8:53 ` Stef Coene
2003-08-21  9:32 ` Joel
2004-08-01  5:20 ` XMundo - Soporte Tecnico

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.