The script:
tc qdisc add dev eth1 root handle 1:0 dsmark indices 64 default_index 3 set_tc_index
[some filters fwmark based]
tc qdisc add dev eth1 parent 1:0 handle 2:0 htb default 5
tc filter add dev eth1 parent 2:0 protocol ip prio 1 tcindex mask 0xfc shift 2 pass_on
tc filter add dev eth1 parent 2:0 protocol ip prio 1 handle 2 tcindex classid 2:5
[...]
Last line gives me this error:
RTNETLINK answers: No such file or directory
We have an error talking to the kernel
I tried to load all ipt_* sch_* and cls_* installed modules:
root@OpenWrt:/lib/modules/2.4.30# lsmod
Module Size Used by Tainted: P
sch_teql 4800 0 (unused)
sch_tbf 3720 0 (unused)
sch_sfq 3912 0 (unused)
sch_red 3216 0 (unused)
sch_prio 3224 0 (unused)
sch_ingress 1744 0 (unused)
sch_htb 22872 0 (unused)
sch_hfsc 15960 0 (unused)
sch_gred 5960 0 (unused)
sch_dsmark 4640 0 (unused)
sch_csz 4904 0 (unused)
sch_cbq 14752 0 (unused)
cls_u32 5736 0 (unused)
cls_tcindex 4920 0 (unused)
cls_rsvp6 5272 0 (unused)
cls_rsvp 5096 0 (unused)
cls_route 4792 0 (unused)
cls_fw 2888 0 (unused)
ipt_unclean 6832 0 (unused)
ipt_ttl 496 0 (unused)
ipt_tos 304 0 (unused)
ipt_tcpmss 656 0 (unused)
ipt_recent 8192 0 (unused)
ipt_pkttype 288 0 (unused)
ipt_physdev 896 0 (unused)
ipt_owner 1280 0 (unused)
ipt_mac 544 0 (unused)
ipt_limit 880 0 (unused)
ipt_length 336 0 (unused)
ipt_layer7 10512 0 (unused)
ipt_ipp2p 6696 0 (unused)
ipt_ecn 656 0 (unused)
ipt_dscp 304 0 (unused)
ipt_TTL 944 0 (unused)
ipt_TOS 976 0 (unused)
ipt_LOG 3888 0 (unused)
ipt_IMQ 672 0 (unused)
ipt_ECN 1616 0 (unused)
ipt_DSCP 960 0 (unused)
cifs 183456 0 (unused)
wlcompat 14896 0 (unused)
wl 423640 0 (unused)
et 32064 0 (unused)
diag 2560 0 (unused)
root@OpenWrt:/lib/modules/2.4.30#
No change. I also tried to change syntax, no way
I passed last two days building PHBs for a DiffServ domain and even cannot test it...
Any clue? (missing kernel option? Bug in tc?)
Regards
Wallace