Yusuf Goolamabbas
2001-May-04 08:02 UTC
Getting RTNETLINK answers: No such file or directory messages
Hi, I am running Linux 2.2.19 on a RH 7.0 box with iproute-2.2.4-7 installed via RH''s stock rpm This is the relevant section of my config file CONFIG_NET_SCHED=y CONFIG_NETLINK=y CONFIG_RTNETLINK=y CONFIG_NET_SCH_CBQ=y # CONFIG_NET_SCH_CSZ is not set # CONFIG_NET_SCH_PRIO is not set # CONFIG_NET_SCH_RED is not set # CONFIG_NET_SCH_SFQ is not set # CONFIG_NET_SCH_TEQL is not set # CONFIG_NET_SCH_TBF is not set CONFIG_NET_QOS=y CONFIG_NET_ESTIMATOR=y CONFIG_NET_CLS=y CONFIG_NET_CLS_ROUTE4=y CONFIG_NET_CLS_ROUTE=y CONFIG_NET_CLS_FW=y CONFIG_NET_CLS_U32=y # CONFIG_NET_CLS_RSVP is not set # CONFIG_NET_CLS_RSVP6 is not set CONFIG_NET_CLS_POLICE=y When I try to run the example as show in the Advanced Routing example, tc qdisc add dev eth0 handle 10: cbq bandwidth 10Mbit avpkt 1000 I get RTNETLINK answers: No such file or directory Is there something I might have missed Regards, Yusuf -- Yusuf Goolamabbas yusufg@outblaze.com
Rodrigo Goya
2001-May-05 01:33 UTC
Re: Getting RTNETLINK answers: No such file or directory messages
Hello,> tc qdisc add dev eth0 handle 10: cbq bandwidth 10Mbit avpkt 1000You missed "root": tc qdisc add dev eth0 root handle 10: cbq bandwidth 10Mbit avpkt 1000 ^^^^^^ Cheers, Rodrigo Goya