Difference between revisions of "Tc (command)"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
  
  
  tc qdisc del dev DEV root
+
  tc qdisc del dev eth0 root
 +
 
 +
tc qdisc show dev eth0 root
  
  
 
  netem  
 
  netem  
  Network Emulator is an enhancement of the Linux traffic control facilities that allow to add delay, packet loss,
+
  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.
              duplication and more other characteristics to packets
 
              outgoing from a selected network interface.
 
  
 
== Related ==
 
== Related ==
Line 21: Line 21:
 
* [[TeamCity]]
 
* [[TeamCity]]
 
* <code>[[iproute2]]</code>
 
* <code>[[iproute2]]</code>
* [[tc-netem]]
+
* <code>[[tc-netem]]</code>
* [[iperf]]
+
* <code>[[iperf]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 12:47, 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%


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.

Related

See also

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