Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "manish bhatt" <bhattmanish1980@hotmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] pb with imq
Date: Tue, 12 Nov 2002 04:36:40 +0000	[thread overview]
Message-ID: <marc-lartc-103707513624268@msgid-missing> (raw)


hi stef

oone more pb while shaping incoming traffic with imq .this one

tc qdisc add dev imq0 root handle 1: htb default 20

tc class add dev imq0 parent 1: classid 1:1 htb rate 2mbit burst 15k

tc class add dev imq0 parent 1:1 classid 1:10 htb rate 1mbit
tc class add dev imq0 parent 1:1 classid 1:20 htb rate 1mbit

tc qdisc add dev imq0 parent 1:10 handle 10: pfifo
tc qdisc add dev imq0 parent 1:20 handle 20: sfq

tc filter add dev imq0 parent 10:0 protocol ip prio 1 u32 match \
		ip dst 10.0.0.230/32 flowid 1:10
iptables -t mangle -A PREROUTING -i eth0 -j IMQ --todev 0
ip link set imq0 up


i m having pb that at first instance it works without giving errors
but after that it gives errors as
RNETLINK : file exist
i used
ip link set imq0 down
and also flushed the rules out of prerouting  but with no succes
what to do now?





_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?pageþatures/virus

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2002-11-12  4:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-12  4:36 manish bhatt [this message]
2002-11-12 16:03 ` [LARTC] pb with imq Stef Coene

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-103707513624268@msgid-missing \
    --to=bhattmanish1980@hotmail.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