Can't seem to set tc.qdisc options



After much searching and experimentation, I cannot figure out how to set qdisc options in nmcli.

 

Here's the command I want to run when a particular connection is brought up:

 

   tc qdisc add dev enp3s0 root cake bandwidth 23mbit

 

where enp3s0 is the underlying link.

 

Network manager is setting the qdisc to fq_codel with default options on this link, and setting other connections' qdiscs to prioritized.

 

nmcli objects when I put any options in nmcli edit and I say:

 

   set tc.qdisc cake root bandwidth 23mbit

 

So maybe there is a way to do this? Or is it an enhancement that needs to be added to network manager?

 

(or is there some script to edit?)

 

Any help would be very welcome.

 

PS: sch_cake is an out-of-tree qdisc by Jonathan Morton. But other qdiscs have options.

tc qdisc add dev enp3s0 root cake bandwidth 23mbit

tc qdisc add dev enp3s0 root cake bandwidth 23mbit



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]