* [LARTC] Difficulties trying to control VOIP traffic with TC - HTB
@ 2003-12-09 2:48 Ricardo Soria
2003-12-09 8:06 ` Kotek Tichomir
2003-12-12 22:53 ` Ricardo Soria
0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Soria @ 2003-12-09 2:48 UTC (permalink / raw)
To: lartc
Hi all:
I hope someone can help me with this "little"
problem...
I'm using a linux script to sub-divide my bandwidth
(64kbit) into: 40kbit for VOIP, and the remaining
24kbit for http. So, the commands I'm using are:
======================
#!/bin/bash
# This script shapes "downloading" stuff
# Initial qdisc
tc qdisc add dev eth1 root handle 1: htb default 20
r2q 2
# Classes definition
tc class add dev eth1 parent 1: classid 1:1 htb rate \
64kbit ceil 64kbit
tc class add dev eth1 parent 1:1 classid 1:10 htb \
rate 40kbit ceil 40kbit prio 0
tc class add dev eth1 parent 1:1 classid 1:20 htb \
rate 24kbit ceil 24kbit prio 1
# Filters
# This is filter for VOIP
tc filter add dev eth1 protocol ip parent 1:0 prio 1 \
u32 match ip dst 1.2.3.4 flowid 1:10
# Remaining traffic is supossed to go to default 20
class
# Script end
======================
I reached this script after a lot of investigation and
tryings. So, the bandwidth distribution seems to be
ok. But here my problem: Every time a person is
using VOIP, and another person starts surfing the
Internet (from a different IP, of course) at the same
time, the sound quality of the VOIP decreases notably.
I have priorized VOIP traffic, as it can be seen on
"prio 0". I even used IPTABLES statements to set
Minimize-Delay to packets coming from VOIP ip address.
But every effort seems to be unuseful: Every time
someone opens web browser, VOIP sound quality goes
down...
So, could someone tell me what's wrong about my
script?? I know it is possible to get what I'm trying
with htb, anyway...
Very thanks to everybody.
Cheers.
Ricardo Soria.
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [LARTC] Difficulties trying to control VOIP traffic with TC - HTB
2003-12-09 2:48 [LARTC] Difficulties trying to control VOIP traffic with TC - HTB Ricardo Soria
@ 2003-12-09 8:06 ` Kotek Tichomir
2003-12-12 22:53 ` Ricardo Soria
1 sibling, 0 replies; 3+ messages in thread
From: Kotek Tichomir @ 2003-12-09 8:06 UTC (permalink / raw)
To: lartc
Hi
trouble is that you can not control incoming traffic.
so VoIP packets and downloads are mixing in unpredictable manner
(browsing tends to bursts when page/images downloads)
this is IMHO "the cause"
anyone has solution ?
tk
-----Original Message-----
From: Ricardo Soria [mailto:ricardo_soria@yahoo.com]
Sent: Tue 09-Dec-03 03:48
To: lartc@mailman.ds9a.nl
Subject: [LARTC] Difficulties trying to control VOIP traffic with TC - HTB
Hi all:
I hope someone can help me with this "little"
problem...
I'm using a linux script to sub-divide my bandwidth
(64kbit) into: 40kbit for VOIP, and the remaining
24kbit for http. So, the commands I'm using are:
...
I reached this script after a lot of investigation and
tryings. So, the bandwidth distribution seems to be
ok. But here my problem: Every time a person is
using VOIP, and another person starts surfing the
Internet (from a different IP, of course) at the same
time, the sound quality of the VOIP decreases notably.
I have priorized VOIP traffic, as it can be seen on
"prio 0". I even used IPTABLES statements to set
Minimize-Delay to packets coming from VOIP ip address.
But every effort seems to be unuseful: Every time
someone opens web browser, VOIP sound quality goes
down...
So, could someone tell me what's wrong about my
script?? I know it is possible to get what I'm trying
with htb, anyway...
Very thanks to everybody.
Cheers.
Ricardo Soria.
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [LARTC] Difficulties trying to control VOIP traffic with TC - HTB
2003-12-09 2:48 [LARTC] Difficulties trying to control VOIP traffic with TC - HTB Ricardo Soria
2003-12-09 8:06 ` Kotek Tichomir
@ 2003-12-12 22:53 ` Ricardo Soria
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Soria @ 2003-12-12 22:53 UTC (permalink / raw)
To: lartc
Very thanks, Kotek:
I've been trying another ways, and making
modifications to my rules, but the problem continue to
be allways the same. Last change I made was to
subdivide upload traffic (in addition to download
traffic), because I read that upload traffic could
also affect, but this didn't help notably, as you
know.
Does someone have a definitive solution?? I know it
exists... Very thanks in advance.
Ricardo Soria.
--- Kotek Tichomir <tichomir.kotek@lynx.sk> escribió:
>
> Hi
>
> trouble is that you can not control incoming
> traffic.
> so VoIP packets and downloads are mixing in
> unpredictable manner
> (browsing tends to bursts when page/images
> downloads)
> this is IMHO "the cause"
> anyone has solution ?
>
>
> tk
> -----Original Message-----
> From: Ricardo Soria [mailto:ricardo_soria@yahoo.com]
> Sent: Tue 09-Dec-03 03:48
> To: lartc@mailman.ds9a.nl
> Subject: [LARTC] Difficulties trying to control VOIP
> traffic with TC - HTB
> Hi all:
>
> I hope someone can help me with this "little"
> problem...
>
> I'm using a linux script to sub-divide my bandwidth
> (64kbit) into: 40kbit for VOIP, and the remaining
> 24kbit for http. So, the commands I'm using are:
> ...
>
> I reached this script after a lot of investigation
> and
> tryings. So, the bandwidth distribution seems to be
> ok. But here my problem: Every time a person is
> using VOIP, and another person starts surfing the
> Internet (from a different IP, of course) at the
> same
> time, the sound quality of the VOIP decreases
> notably.
> I have priorized VOIP traffic, as it can be seen on
> "prio 0". I even used IPTABLES statements to set
> Minimize-Delay to packets coming from VOIP ip
> address.
> But every effort seems to be unuseful: Every time
> someone opens web browser, VOIP sound quality goes
> down...
>
> So, could someone tell me what's wrong about my
> script?? I know it is possible to get what I'm
> trying
> with htb, anyway...
>
> Very thanks to everybody.
>
> Cheers.
>
> Ricardo Soria.
>
>
_________________________________________________________
> Do You Yahoo!?
> Información de Estados Unidos y América Latina, en
> Yahoo! Noticias.
> Visítanos en http://noticias.espanol.yahoo.com
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
> http://lartc.org/
>
>
>
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-12 22:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09 2:48 [LARTC] Difficulties trying to control VOIP traffic with TC - HTB Ricardo Soria
2003-12-09 8:06 ` Kotek Tichomir
2003-12-12 22:53 ` Ricardo Soria
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.