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
792 stars 85 forks source link

tcset not controlling traffic for bridge interfaces #188

Closed k3rn3Lp4n1cK closed 2 months ago

k3rn3Lp4n1cK commented 3 months ago

Describe the bug

Ubuntu 22.04 6 NICs (eno1, eno2, eno3, eno4, eno5, eno6) bridge configuration

bridge name bridge id       STP enabled interfaces
br1     8000.3ccccccccccc   no      eno1
                            eno2
br2     8000.4ccccccccccc   no      eno3
                            eno4
br3     8000.5ccccccccccc   no      eno5
                            eno6

Expected behavior

when applying a tcset to a bridge interface, there are no errors. It does not control the traffic For example the following command does nothing to br1 tcset br1 --loss 100%

Additional context

Not using docker Version: 0.29.1 Installed with pip

thombashi commented 3 months ago

Thank you for your report. I just would like to confirm one thing: does tc work properly with the bridge interfaces?

k3rn3Lp4n1cK commented 3 months ago

I found a solution, you can close this issue. Thanks for responding so quickly!

github-actions[bot] commented 3 months 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.

github-actions[bot] commented 2 months ago

This issue was closed because has not had recent activity.