Displaying 2 results from an estimated 2 matches for "75kbit".
Did you mean:
25kbit
2004 Feb 09
1
Dreaded RTNETLINK answers: Invalid argument
...unknown
# lsmod | grep sch
sch_sfq 3744 9
sch_htb 18688 2
sch_tbf 2272 0 (unused)
# ./testc
+ EXT_DEV=eth0
+ UP_CEIL=75
+ DOWN_CEIL=1000
+ tc qdisc add dev eth0 root handle 1: htb default 15
+ tc class add dev eth0 parent 1: classid 1:1 htb rate 75kbit ceil
75kbit
+ tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50kbit ceil
80kbit prio 0
:
:
+ tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 1 fw
flowid 1:10
RTNETLINK answers: Invalid argument
removing the handle 1 fw flowid 1:10 gets rid of the error, but
obviously doesn'...
2005 Dec 22
2
strange tc filter behavior
...\
match ip sport 81 0xffff \
match u8 6 0xff at 9 \
flowid 2:10
$TC filter add dev eth2 protocol ip parent 2: prio 2 \
u32 \
match ip sport 82 0xffff \
match u8 6 0xff at 9 \
flowid 2:10
#
# SMTP
#
$TC class add dev eth2 parent 2:1 classid 2:11 htb prio 3 rate 75kbit ceil 500kbit
$TC filter add dev eth2 protocol ip parent 2: prio 3 \
u32 \
match ip sport 25 0xffff \
match u8 6 0xff at 9 \
flowid 2:11
$TC filter add dev eth2 protocol ip parent 2: prio 3 \
u32 \
match ip dport 25 0xffff \
match u8 6 0xff at 9 \
flowid 2:11...