All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexandru Coseru" <alexcos@home.ro>
To: lartc@vger.kernel.org
Subject: [LARTC] Script problem
Date: Sun, 04 May 2003 22:41:04 +0000	[thread overview]
Message-ID: <marc-lartc-105208810629370@msgid-missing> (raw)

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

Can somebody tell me what's wrong in this script?   I'm a begginer in traffic shaping and I can't figure it out

#!/bin/sh
 
DEV="dev eth1"
 
tc qdisc del $DEV root
tc qdisc add $DEV root handle 10: prio
tc qdisc add $DEV parent 10:1 handle 20: est 1sec 8sec
bfifo
tc qdisc add $DEV parent 10:2 handle 30: est 1sec 8sec
bfifo
tc qdisc add $DEV parent 10:3 handle 40: est 1sec 8sec
bfifo
 
tc filter add $DEV parent 10: protocol ip prio 1 u32
match ip tos 0x10 0xff flowid 10:1
tc filter add $DEV parent 10: protocol ip prio 1 u32
match ip tos 0x06 0xff flowid 10:2
tc filter add $DEV parent 10: protocol ip prio 1 u32
match ip tos 0x0c 0xff flowid 10:3











                                                                                                        Thanks a lot
                                                                                                        alexCOS

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

             reply	other threads:[~2003-05-04 22:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-04 22:41 Alexandru Coseru [this message]
2003-05-05  7:49 ` [LARTC] Script problem Stef Coene
2003-05-05 18:42 ` Alexandru Coseru
2003-05-05 19:08 ` Stef Coene
2003-05-05 19:51 ` Alexandru Coseru
2003-05-05 20:13 ` Stef Coene
2003-05-05 20:20 ` Martin A. Brown

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-105208810629370@msgid-missing \
    --to=alexcos@home.ro \
    --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.