tc qdisc add dev eth0 root tbf rate 1kbit latency 50ms burst 5kb

(The parameter "rate 1kbit" slows down the network. I have no idea what the whole things means, but it works)

remove the slowdown:

tc qdisc del dev eth0 root