Difference between revisions of "Tc (command)"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
{{lc}}
 
[[wikipedia:Tc (Linux)]] show and manipulate traffic control settings
 
[[wikipedia:Tc (Linux)]] show and manipulate traffic control settings
 
* Man page: https://man7.org/linux/man-pages/man8/tc.8.html
 
* Man page: https://man7.org/linux/man-pages/man8/tc.8.html

Revision as of 15:23, 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 5000ms

tc qdisc add dev eth0 root netem loss 10%

tc qdisc del dev eth0 root

tc qdisc show dev eth0 root


netem 
Network Emulator is an enhancement of the Linux traffic control facilities that allow to add delay, packet loss, duplication and more other characteristics to packets outgoing from a selected network interface.

Errors

tc qdisc add dev eth0 root netem delay 200ms 20ms 25% loss 1% 25% duplicate 2% corrupt 0.1% reorder 5% 50%

Related

See also

  • https://netbeez.net/blog/packet-loss-round-trip-time-tcp/
  • Advertising: