Skip to contentSkip to conversation

Setting bandwidth to unlimited

LARTC Joel Parker 2 participants 2 messages Mar 23, 2007 – Mar 24, 2007

lore
Share & tools
lore
#0 lore raw

Hello,
I am using the following commands to "throttle" the bandwidth
of the NIC at eth0 :

tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 10: cbq bandwidth 100mbit avpkt 1000 tc qdisc add dev eth0 root handle 10: htb
tc class add dev eth0 parent 10: classid 10:1 cbq bandwidth 100mbit
rate 128kbit allot 1514 maxburst 20 avpkt 1000 bounded prio 3
tc class add dev eth0 parent 10: classid 10:1 htb rate 128kbit

(1) First question is, will the above successfully throttle the bandwidth of the nick to 128 kilibits per second ?

(2) Next question what value do I use for unlimited bandwidth ?

Thanks for the help,

-- Joel Parker

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

Make a filter which sent the traffic to an none existing class id. This traffic will not apply to any class rule and will not be shaped. In fact the only qdisc which is then limiting the traffic (and you can't avoid) ist the root qdisc of the interface.

Cheers,
Andreas

Quoted 23 lines · Joel Parker

Hello,
I am using the following commands to "throttle" the bandwidth
of the NIC at eth0 :

tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 10: cbq bandwidth 100mbit avpkt 1000 tc qdisc add dev eth0 root handle 10: htb
tc class add dev eth0 parent 10: classid 10:1 cbq bandwidth 100mbit
rate 128kbit allot 1514 maxburst 20 avpkt 1000 bounded prio 3
tc class add dev eth0 parent 10: classid 10:1 htb rate 128kbit

(1) First question is, will the above successfully throttle the bandwidth of the nick to 128 kilibits per second ?

(2) Next question what value do I use for unlimited bandwidth ?

Thanks for the help,

-- Joel Parker

Quoted 5 lines

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc