* [LARTC] pb with imq
@ 2002-11-12 4:36 manish bhatt
2002-11-12 16:03 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: manish bhatt @ 2002-11-12 4:36 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] pb with imq
2002-11-12 4:36 [LARTC] pb with imq manish bhatt
@ 2002-11-12 16:03 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2002-11-12 16:03 UTC (permalink / raw)
To: lartc
On Tuesday 12 November 2002 05:24, manish bhatt wrote:
> 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
When did he gave this errors? What command did you executed ?
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-12 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-12 4:36 [LARTC] pb with imq manish bhatt
2002-11-12 16:03 ` Stef Coene
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.