Difference between revisions of "Tc (command)"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  tc qdisc add dev eth0 root netem loss 10%
 
  tc qdisc add dev eth0 root netem loss 10%
  
 +
 +
 +
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.
  
 
== Related ==
 
== Related ==

Revision as of 12:24, 6 May 2021

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%


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.

Related

See also

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