Displaying 3 results from an estimated 3 matches for "34mbit".
Did you mean:
30mbit
2007 Sep 18
1
htb on Gigabit Interfaces
...class add dev eth0 parent 1:0 classid 1:2 htb rate 68mbit ceil 68mbit quantum 30000
#seconf customer upload
/sbin/tc class add dev eth1 parent 1:0 classid 1:2 htb rate 68000kbit ceil 68000kbit quantum 30000
# first customer download
/sbin/tc class add dev eth0 parent 1:0 classid 1:3 htb rate 34mbit ceil 34mbit quantum 30000
# first customer upload
/sbin/tc class add dev eth1 parent 1:0 classid 1:3 htb rate 34mbit ceil 34mbit quantum 30000
#then iptable classify rules
#TO_FIRST CUSTOMER
/opt/sbin/iptables -t mangle -I POSTROUTING -o eth0 -d $DESTINATIONIP -j CLASSIFY --set-class 1:2...
2005 Apr 20
1
deleting tc rules
...9;' and a have no shaping at all.
Are there known bugs when deleting with tc?
Is there some way to do this?
This is my test configation:
---------------------------------------
# shaping eth0 trunk
tc qdisc add dev eth0 root handle 2: htb
tc class add dev eth0 parent 2: classid 2:22 htb rate 34mbit ceil
34mbit burst 0kbit cburst 0kbit
tc filter add dev eth0 parent 2:22 protocol ip prio 5 u32
# shaping 10.0.0.28/30 #
tc filter add dev eth0 parent 2:22 handle 102: protocol ip prio 5 u32
divisor 256
tc filter add dev eth0 protocol ip prio 5 parent 2: u32 match ip dst
10.0.0.28/30 hashkey mask 0...
2005 Jan 19
3
tc limit
...r talking to the kernel
handle 1:4105
...
...
etc.
Is there a limit with tc or I''m I doing something wrong ?
(I''m using iproute2-2.6.9-041019)
This is the script:
#!/bin/sh
/sbin/tc qdisc add dev eth1 root handle 1: htb
/sbin/tc class add dev eth1 parent 1: classid 1:3 htb rate 34mbit ceil
34mbit burst 0kbit cburst 0kbit
/sbin/tc filter add dev eth1 parent 1:3 protocol ip u32
/sbin/tc filter add dev eth1 parent 1:3 handle 3: protocol ip u32 divisor 256
/sbin/tc filter add dev eth1 protocol ip parent 1: u32 match ip dst
10.0.0.0/20 hashkey mask 0x000000ff at 16 link 3:
echo hand...