Editing Tc (command)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
[[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 | ||
Line 5: | Line 4: | ||
To increase [[round-trip]]<ref>https://netbeez.net/blog/packet-loss-round-trip-time-tcp/</ref> | To increase [[round-trip]]<ref>https://netbeez.net/blog/packet-loss-round-trip-time-tcp/</ref> | ||
− | + | [[tc qdisc]] add dev eth0 root [[netem]] delay 5000ms | |
− | |||
− | |||
− | |||
− | + | tc qdisc add dev eth0 root netem loss 10% | |
− | + | tc qdisc del dev DEV 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 == | == Related == | ||
− | |||
* [[PacketShaper]] | * [[PacketShaper]] | ||
* [[TeamCity]] | * [[TeamCity]] | ||
* <code>[[iproute2]]</code> | * <code>[[iproute2]]</code> | ||
− | * | + | * [[tc-netem]] |
− | * | + | * [[iperf]] |
== See also == | == See also == | ||
− | |||
* {{Traffic shaping}} | * {{Traffic shaping}} | ||
* {{Linux networking commands}} | * {{Linux networking commands}} |
Advertising: