Difference between revisions of "Tc (command)"
Jump to navigation
Jump to search
↑ https://netbeez.net/blog/packet-loss-round-trip-time-tcp/
Tags: Mobile web edit, Mobile edit |
|||
| (27 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{lc}} |
| + | [[wikipedia:Tc (Linux)]] show and manipulate traffic control settings | ||
| + | * Man page: https://man7.org/linux/man-pages/man8/tc.8.html | ||
| + | To increase [[round-trip]]<ref>https://netbeez.net/blog/packet-loss-round-trip-time-tcp/</ref> | ||
| + | * <code>[[tc qdisc]] add dev eth0 root [[netem]] delay 5000ms</code> | ||
| + | * <code>[[tc qdisc add]] dev eth0 root netem loss 10%</code> | ||
| + | * <code>[[tc qdisc del]] dev eth0 root</code> | ||
| + | * <code>[[tc qdisc show]] dev eth0 root</code> | ||
| + | [[tc qdisc add dev]] eth0 root [[netem]] delay 200ms 20ms 25% loss 1% 25% duplicate 2% corrupt 0.1% reorder 5% 50% | ||
| + | |||
| + | |||
| + | [[tc filter]] add dev pppoe-dsl parent 1: prio 1 protocol ip handle 202 fw flowid 1:202 | ||
| + | |||
| + | == Related == | ||
| + | * <code>[[netem]]</code> network emulator to allow add delay, packet loss, duplication and more... | ||
| + | * [[PacketShaper]] | ||
| + | * [[TeamCity]] | ||
| + | * <code>[[iproute2]]</code> | ||
| + | * <code>[[tc-netem]]</code> | ||
| + | * <code>[[iperf]]</code> | ||
== See also == | == See also == | ||
| − | * {{ | + | * {{tc}} |
| + | * {{Traffic shaping}} | ||
| + | * {{Linux networking commands}} | ||
| + | |||
| + | |||
| + | [[Category:Linux commands]] | ||
| + | [[Category:Networking]] | ||
Latest revision as of 15:36, 14 February 2023
wikipedia:Tc (Linux) show and manipulate traffic control settings
To increase round-trip[1]
tc qdisc add dev eth0 root netem delay 5000mstc qdisc add dev eth0 root netem loss 10%tc qdisc del dev eth0 roottc qdisc show dev eth0 root
tc qdisc add dev eth0 root netem delay 200ms 20ms 25% loss 1% 25% duplicate 2% corrupt 0.1% reorder 5% 50%
tc filter add dev pppoe-dsl parent 1: prio 1 protocol ip handle 202 fw flowid 1:202
Related[edit]
netemnetwork emulator to allow add delay, packet loss, duplication and more...- PacketShaper
- TeamCity
iproute2tc-netemiperf
See also[edit]
tc [ qdisc | filter ],netem- Traffic shaping: Network bandwidth,
tc, PacketShaper, Traffic QoS, IEEE P802.1p,Netperf ip[link, route],ifconfignetstatsslsofpingethtoolmii-toolarpingnmcli(RHEL)routenetworkctl,netplan,tc,networkd-dispatcher
Advertising: