From: Emmanuel Lacour <elacour@easter-eggs.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] An example of prio qdisc please...
Date: Thu, 26 Sep 2002 09:52:48 +0000 [thread overview]
Message-ID: <marc-lartc-103303403821811@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103288271014525@msgid-missing>
On Wed, Sep 25, 2002 at 01:02:03PM +0200, Soulfly wrote:
> > "Soulfly" <zob_soulfly@hotmail.com> thus wrote:
> >
> > > tc qdisc add dev eth0 root handle 1: prio bands 5 priomap 2 3 2 2 3 3 3
> 3 1
> > > 1 1 1 2 2 2 2
> > > tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10
> > > tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10
> > > tc qdisc add dev eth0 parent 1:3 handle 30: sfq perturb 10
> > > tc qdisc add dev eth0 parent 1:4 handle 40: sfq perturb 10
> > > tc filter add dev eth0 protocol ip parent 1: prio 10 u32 match ip
> protocol
> > > 0xXX 0xff flowid 1:1
> >
>
> I have a configuration which use 5 prio levels (2 above the standard
> priolevels). I conerted it to 4 and forgot to alter the band parameter.. so
> the correct line is..
>
> tc qdisc add dev eth0 root handle 1: prio bands 4 priomap 2 3 2 2 3 3 3 3 1
> 1 1 1 2 2 2 2
>
Here is my net config:
LAN1->(eth1)ipsec_gw1(ppp0)---------------(ppp0)ipsec_gw2(eth1)<-LAN2
^
|
server
Ok, so I tried this:
tc qdisc del dev ppp0 root
tc qdisc add dev ppp0 root handle 1: prio
tc qdisc add dev ppp0 parent 1:1 handle 10: sfq perturb 10
tc qdisc add dev ppp0 parent 1:2 handle 20: sfq perturb 10
tc qdisc add dev ppp0 parent 1:3 handle 30: sfq perturb 10
tc filter add dev ppp0 protocol ip parent 1: prio 10 u32 match ip
protocol 0x50 0xff flowid 1:1
I did it on my too ipsec-end gateway
so if from I connect from LAN1 to LAN2 via ssh, all traffic go in 10:,
and when I ftp from LAN1 to the server directly through internet (no
tunnel), traffic go in 30:
But this doesn't change anything, ssh is as slow as without prio when I
do ftp????
Where is my probably qos conception error??
Thanks for any help.
--
Easter-eggs Spécialiste GNU/Linux
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2002-09-26 9:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-24 15:50 [LARTC] An example of prio qdisc please Emmanuel Lacour
2002-09-25 7:28 ` Soulfly
2002-09-25 9:18 ` Emmanuel Lacour
2002-09-25 9:51 ` Rohan Almeida
2002-09-25 10:45 ` Soulfly
2002-09-25 11:02 ` Soulfly
2002-09-25 11:44 ` Stef Coene
2002-09-25 14:13 ` Tobias Geiger
2002-09-25 15:42 ` Stef Coene
2002-09-26 9:52 ` Emmanuel Lacour [this message]
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-103303403821811@msgid-missing \
--to=elacour@easter-eggs.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 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.