Linux analog packet loss rate

Linux Can pass tc command , Analog network delay and bid loss rate .

 tc qdisc add dev eth0 root netem delay 100ms loss 5%
  • 1.

adopt ping Command view :

64 bytes from 220.181.38.148 (220.181.38.148): icmp_seq=530 ttl=52 time=104 ms
64 bytes from 220.181.38.148 (220.181.38.148): icmp_seq=531 ttl=52 time=104 ms
64 bytes from 220.181.38.148 (220.181.38.148): icmp_seq=532 ttl=52 time=104 ms
64 bytes from 220.181.38.148 (220.181.38.148): icmp_seq=533 ttl=52 time=104 ms
64 bytes from 220.181.38.148 (220.181.38.148): icmp_seq=534 ttl=52 time=104 ms
64 bytes from 220.181.38.148 (220.181.38.148): icmp_seq=535 ttl=52 time=104 ms
64 bytes from 220.181.38.148 (220.181.38.148): icmp_seq=537 ttl=52 time=104 ms
--- baidu.com ping statistics ---
537 packets transmitted, 509 received, 5.21415% packet loss, time 1426ms
rtt min/avg/max/mdev = 104.144/104.191/104.609/0.427 ms

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.

Through the results , Not exactly , But it's almost .

Please bring the original link to reprint ,thank
Similar articles

2021-09-15

2021-09-15

2021-09-15

2021-09-15