From: "Greg Freeman" <gfreeman@westoncs.com>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS
Date: Thu, 04 Dec 2003 20:45:06 +0000 [thread overview]
Message-ID: <marc-lartc-107057058330391@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107047454124998@msgid-missing>
Good guess, 10.0.0.7 is actually the VoIP phone system, which can
handle multiple calls. 10.0.1.20-22 are actually IP phones
I just pasted your other changes and was about to apply them. I will
try it first, then the below and let you know the results.
-----Original Message-----
From: Stef Coene [mailto:stef.coene@docum.org]
Sent: Thursday, December 04, 2003 11:37 AM
To: Greg Freeman
Cc: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] $100 USD to the first person that can provide the
rules/scripts that will solve the QOS latency & bandwidth allocation
issue !!!!
On Thursday 04 December 2003 21:24, Greg Freeman wrote:
> Stef,
> The current set of rules I have in it are as follows:
>
>
> tc qdisc add dev ipsec0 root handle 1: htb default 20 tc class add dev
> ipsec0 parent 1: classid 1:1 htb rate 600kbit ceil 640kbit burst 2k tc
> class add dev ipsec0 parent 1:1 classid 1:10 htb rate 240kbit tc class
> add dev ipsec0 parent 1:2 classid 1:20 htb rate 400kbit tc filter add
> dev ipsec0 parent 1:0 prio 0 protocol ip handle 10 fw flowid 1:10 tc
> filter add dev ipsec0 parent 1:0 prio 0 protocol ip handle 20 fw
> flowid 1:20 iptables -A PREROUTING -t mangle -p ALL -j MARK --set-mark
> 20 iptables -A PREROUTING -t mangle -p ALL -d 10.0.1.20 -j MARK
> --set-mark 10 iptables -A PREROUTING -t mangle -p ALL -j MARK
> --set-mark 20 iptables -A PREROUTING -t mangle -p ALL -d 10.0.1.21 -j
> MARK --set-mark 10 iptables -A PREROUTING -t mangle -p ALL -j MARK
> --set-mark 20 iptables -A PREROUTING -t mangle -p ALL -d 10.0.1.22 -j
> MARK --set-mark 10
>
>
>
> This still does not solve the latency (or even seem to affect it, but
> perhaps this is a better route in trying to solve this issue?) Please
> let me know you thoughts,
Try this :
tc qdisc del dev ipsec0 root
tc qdisc add dev ipsec0 root handle 1: htb default 20 tc class add dev
ipsec0 parent 1: classid 1:1 htb rate 600kbit ceil 600kbit tc class add
dev ipsec0 parent 1:1 classid 1:10 htb rate 240kbit ceil 600kbit tc
class add dev ipsec0 parent 1:2 classid 1:20 htb rate 400kbit ceil
500kbit tc filter add dev ipsec0 parent 1:0 prio 0 protocol ip handle
0x10 fw flowid 1:10 tc filter add dev ipsec0 parent 1:0 prio 0 protocol
ip handle 0x20 fw flowid 1:20 iptables -F -t mangle iptables -A
PREROUTING -t mangle -p ALL -d 10.0.1.20 -j MARK --set-mark 0x10
iptables -A PREROUTING -t mangle -p ALL -d 10.0.1.21 -j MARK --set-mark
0x10 iptables -A PREROUTING -t mangle -p ALL -d 10.0.1.22 -j MARK
--set-mark 0x10
10.1.1.20/21/22 are the VoIP systems ?
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-12-04 20:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-03 18:04 [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS late Greg Freeman
2003-12-03 20:12 ` [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS Stef Coene
2003-12-04 2:33 ` Greg Freeman
2003-12-04 19:32 ` Stef Coene
2003-12-04 19:39 ` [LARTC] $100 USD to the first person that can provide the rules/scripts Darryl Miles
2003-12-04 20:24 ` [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS Greg Freeman
2003-12-04 20:36 ` Stef Coene
2003-12-04 20:45 ` Greg Freeman [this message]
2003-12-04 20:57 ` Greg Freeman
2003-12-04 21:11 ` Stef Coene
2003-12-04 23:15 ` [LARTC] $100 USD to the first person that can provide the rules/scripts Darryl Miles
2003-12-04 23:29 ` Darryl Miles
2003-12-05 23:35 ` [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS Greg Freeman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-107057058330391@msgid-missing \
--to=gfreeman@westoncs.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox