root@qdisc:~# tc qdisc add dev eth0 root netem delay 50ms root@qdisc:~# ping 10.0.3.1 PING 10.0.3.1 (10.0.3.1) 56(84) bytes of data. 64 bytes from 10.0.3.1: icmp_seq=1 ttl=64 time=50.3 ms 64 bytes from 10.0.3.1: icmp_seq=2 ttl=64 time=50.3 ms ^C --- 10.0.3.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 50.360/50.363/50.367/0.224 ms root@qdisc:~#
So confirmed to work as expected, thanks!
root@qdisc:~# tc qdisc add dev eth0 root netem delay 50ms 50.363/ 50.367/ 0.224 ms
root@qdisc:~# ping 10.0.3.1
PING 10.0.3.1 (10.0.3.1) 56(84) bytes of data.
64 bytes from 10.0.3.1: icmp_seq=1 ttl=64 time=50.3 ms
64 bytes from 10.0.3.1: icmp_seq=2 ttl=64 time=50.3 ms
^C
--- 10.0.3.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 50.360/
root@qdisc:~#
So confirmed to work as expected, thanks!