thombashi / tcconfig

A tc command wrapper. Make it easy to set up traffic control of network bandwidth/latency/packet-loss/packet-corruption/etc. to a network-interface/Docker-container(veth).
https://tcconfig.rtfd.io/
MIT License
796 stars 85 forks source link

Can't change rate incoming with tcset #167

Open nobitran opened 2 years ago

nobitran commented 2 years ago

Same with me.

image

Step:

[ERROR] command execution failed command=/sbin/tc qdisc add dev tun0 ingress stderr=Error: Exclusivity flag on, cannot modify.

[ERROR] command execution failed command=/sbin/tc qdisc change dev ifb7038 parent 1b7e:2 handle 243f: netem stderr=Error: NLM_F_REPLACE needed to override.

Additional: With outgoing, the flag --change run sometimes it run success, sometime can't update.

Originally posted by @nobitran in https://github.com/thombashi/tcconfig/issues/131#issuecomment-1290292350

tu-nv commented 2 years ago

same error in my case.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

LukeLIN-web commented 1 year ago

sudo tc qdisc add dev enp0s1 root fq limit 1000 I try to change the queue limit, but fail Error: Exclusivity flag on, cannot modify.

nodjoy commented 8 months ago

same error...

nodjoy commented 7 months ago

use ethtool -s tun0 speed 1000 modify the default speed value