RTNETLINK answers: No such file or directory

前端 未结 2 2131
情歌与酒
情歌与酒 2021-02-20 10:03

When I run this cmd:

tc qdisc add dev eth0 root red limit 51200000 min 128000 max 512000 avpkt 1024 burst 200 ecn probability 0.5

i get

<
2条回答
  •  心在旅途
    2021-02-20 10:13

    On my system your command autoloads the sch_red module. The question is rather old so on a modern system the autoloading should work fine if you have the required module. Check if you miss the kernel module by running:

    modprobe sch_red
    

    If it prints nothing, then retry running tc command and see if it helps.

    If not, ensure you have CONFIG_NET_SCH_RED (Random Early Detection) compiled in your kernel. More info at kernel documentation.

提交回复
热议问题