Skip to content

Instantly share code, notes, and snippets.

View nickyvanurk's full-sized avatar
💭
Open for work

Nick van Urk nickyvanurk

💭
Open for work
View GitHub Profile
# Install iproute (Ubuntu)
sudo apt-get install iproute
# Increase network latency in eth0 (250 milliseconds)
sudo tc qdisc add dev eth0 root netem delay 250ms
# Delete network modifications
sudo tc qdisc del dev eth0 root netem
# To make this change in localhost you must only replace "eth0" to "lo" ( --- WARNING --- in this case time will double )