Difference between revisions of "Tc (command)"
Jump to navigation
Jump to search
↑ https://netbeez.net/blog/packet-loss-round-trip-time-tcp/
Line 5: | Line 5: | ||
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> | ||
− | |||
* <code>[[tc qdisc]] add dev eth0 root [[netem]] delay 5000ms</code> | * <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 add dev eth0 root netem loss 10%</code> | ||
Line 12: | Line 11: | ||
<code>tc qdisc show 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% | ||
+ | |||
Line 17: | Line 19: | ||
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. | 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 15:28, 14 February 2023
wikipedia:Tc (Linux) show and manipulate traffic control settings
To increase round-trip[1]
tc qdisc del dev eth0 root
tc 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%
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
- Traffic shaping: Network bandwidth,
tc
, PacketShaper, Traffic QoS, IEEE P802.1p,Netperf
ip
[link, route]
,ifconfig
netstat
ss
lsof
ping
ethtool
mii-tool
arping
nmcli
(RHEL)route
networkctl
,netplan
,tc
Advertising: