* [LARTC] Removing a filter/qdisc from an interface
@ 2001-06-05 17:54 bkohlen
2001-06-06 8:12 ` Juri Haberland
0 siblings, 1 reply; 2+ messages in thread
From: bkohlen @ 2001-06-05 17:54 UTC (permalink / raw)
To: lartc
I successfully used a bounded cbq to cut down outgoing bandwidth to
certain addresses on eth0:
# tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000
# tc class add dev eth0 parent 10:0 classid 10:1 cvq bandiwdth 100Mbit
rate 100Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
# tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth 100Mbit
rate 1Mbit allot 1514 weight 10Kbit prio 1 maxburst 20 avpkt 1000
bounded
# tc qdisc add dev eth0 parent 10:100 sfq quantum 1514b perturb 15
# tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match ip
dst 192.168.1.0/24 flowid 10:100
I basically copied this straight out of a howto - now I can't figure out
how to remove the limitations (without rebooting that is). I was
expecting something like:
# tc filter del 10:100
or possibly
# tc class del 10:100
but clearly I don't really understand what's going on here... any
pointers?
Thanks,
Ben
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Removing a filter/qdisc from an interface
2001-06-05 17:54 [LARTC] Removing a filter/qdisc from an interface bkohlen
@ 2001-06-06 8:12 ` Juri Haberland
0 siblings, 0 replies; 2+ messages in thread
From: Juri Haberland @ 2001-06-06 8:12 UTC (permalink / raw)
To: lartc
bkohlen@intrinsyc.com wrote:
>
> I successfully used a bounded cbq to cut down outgoing bandwidth to
> certain addresses on eth0:
>
> # tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000
>
> # tc class add dev eth0 parent 10:0 classid 10:1 cvq bandiwdth 100Mbit
> rate 100Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
> # tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth 100Mbit
> rate 1Mbit allot 1514 weight 10Kbit prio 1 maxburst 20 avpkt 1000
> bounded
> # tc qdisc add dev eth0 parent 10:100 sfq quantum 1514b perturb 15
> # tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match ip
> dst 192.168.1.0/24 flowid 10:100
>
> I basically copied this straight out of a howto - now I can't figure out
> how to remove the limitations (without rebooting that is). I was
> expecting something like:
>
> # tc filter del 10:100
>
> or possibly
>
> # tc class del 10:100
>
> but clearly I don't really understand what's going on here... any
> pointers?
I'm also just starting with traffic control stuff - so I might be wrong
- but try:
# tc qdisc del dev eth0 root
Juri
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-06 8:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-05 17:54 [LARTC] Removing a filter/qdisc from an interface bkohlen
2001-06-06 8:12 ` Juri Haberland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox