From: Alexandra Alvarado <aaaa@telconet.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HOW CAN I PRIORITIZE THE ICMP PACKETS
Date: Thu, 03 May 2001 11:30:16 +0000 [thread overview]
Message-ID: <marc-lartc-98890727808969@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98882360532346@msgid-missing>
Thanks for try to help me, i apprecite so much this.
Well
this is my cbq.init configuration, how can modify this to priorize ICMP
packets [ping service]
Thanks
Alexandra
#!/bin/sh
DEV="dev eth1"
TTOPIC 7.100.136.194
MORTEG 7.100.136.208
MCADEN 7.100.136.233
KLAPEN 7.100.136.199
JSABAN 7.100.136.201
OTHERS 7.100.136.0/24
tc qdisc add $DEV root handle 10: cbq bandwidth 100Mbit avpkt 1000
tc class add $DEV parent 10:0 classid 10:1 cbq bandwidth 100Mbit rate
100Mbit allot 1514 weight 10Mbit prio 8 maxburst 20 avpkt 1000
tc class add $DEV parent 10:1 classid 10:100 cbq bandwidth 100Mbit rate
128Kbit allot 1514 weight 12Kbit prio 5 maxburst 20 avpkt 1000 bounded
tc class add $DEV parent 10:100 classid 10:1000 cbq bandwidth 128Kbit
rate 16Kbit allot 1514 weight 1Kbit prio 1 maxburst 20 avpkt 1000
bounded
tc class add $DEV parent 10:100 classid 10:2000 cbq bandwidth 128Kbit
rate 16Kbit allot 1514 weight 1Kbit prio 2 maxburst 20 avpkt 1000
bounded
tc class add $DEV parent 10:100 classid 10:3000 cbq bandwidth 128Kbit
rate 8Kbit allot 1514 weight 1Kbit prio 3 maxburst 20 avpkt 1000 bounded
tc class add $DEV parent 10:100 classid 10:4000 cbq bandwidth 128Kbit
rate 8Kbit allot 1514 weight 1Kbit prio 4 maxburst 20 avpkt 1000 bounded
tc class add $DEV parent 10:100 classid 10:5000 cbq bandwidth 128Kbit
rate 8Kbit allot 1514 weight 1Kbit prio 4 maxburst 20 avpkt 1000 bounded
tc class add $DEV parent 10:100 classid 10:6000 cbq bandwidth 128Kbit
rate 84Kbit allot 1514 weight 1Kbit prio 5 maxburst 20 avpkt 1000
bounded
tc qdisc add $DEV parent 10:1000 tbf rate 16Kbit buffer 10Kb/8 limit
15Kb
tc qdisc add $DEV parent 10:2000 tbf rate 16Kbit buffer 10Kb/8 limit
15Kb
tc qdisc add $DEV parent 10:3000 tbf rate 16Kbit buffer 10Kb/8 limit
15Kb
tc qdisc add $DEV parent 10:4000 tbf rate 16Kbit buffer 10Kb/8 limit
15Kb
tc qdisc add $DEV parent 10:5000 tbf rate 16Kbit buffer 10Kb/8 limit
15Kb
tc qdisc add $DEV parent 10:6000 tbf rate 16Kbit buffer 10Kb/8 limit
15Kb
tc filter add $DEV parent 10:0 protocol ip prio 25 u32 match ip dst
$TTOPIC flowid 10:1000
tc filter add $DEV parent 10:0 protocol ip prio 25 u32 match ip dst
$MORTEG flowid 10:2000
tc filter add $DEV parent 10:0 protocol ip prio 100 u32 match ip dst
$MCADEN flowid 10:3000
tc filter add $DEV parent 10:0 protocol ip prio 100 u32 match ip dst
$KLAPEN flowid 10:4000
tc filter add $DEV parent 10:0 protocol ip prio 100 u32 match ip dst
$JSABAN flowid 10:5000
tc filter add $DEV parent 10:0 protocol ip prio 100 u32 match ip dst
$OTHERS flowid 10:6000
"Wingtung.Leung" wrote:
>
> On Thu, 3 May 2001, Alexandra Alvarado wrote:
>
> > Obviously this occur when I configure the cbq [64Kbit], when i turn cbq
> > off all is ok, BUT I NEED CONTROL THE BANDWITH all traffic minus the
> > ping service.
> >
> > That is the reason why I need that the ping service not be controlled
> > [or be prioritized], FOR THE CLIENTS, can you give me a good example for
> > that? :)
>
> It depends how you select your pakkets for putting in the bandwidth
> limited queues. Just don't mark the ICMP packets or adjust the filter
> so they have enough bandwidth. Or create a seperate class for ICMP
> messages.
>
> Please be more specific ..
>
> --
> CAPS = SHOUTING = (maybe) impolite
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next prev parent reply other threads:[~2001-05-03 11:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-02 12:16 [LARTC] HOW CAN I PRIORITIZE THE ICMP PACKETS Alexandra Alvarado
2001-05-03 1:13 ` David A. Bandel
2001-05-03 1:29 ` Ramin Alidousti
2001-05-03 3:19 ` Re[2]: " Fabian Gervan
2001-05-03 9:32 ` Alexandra Alvarado
2001-05-03 11:30 ` Alexandra Alvarado [this message]
2001-05-03 15:59 ` Wingtung.Leung
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-98890727808969@msgid-missing \
--to=aaaa@telconet.net \
--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.