Created
January 16, 2014 12:21
-
-
Save yanbab/8454098 to your computer and use it in GitHub Desktop.
Network conditionning on Linux and OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set bandwidth limit, response delay and lost packages : | |
sudo ipfw pipe 1 config bw 56Kbit/s delay 200 plr 0.2 | |
sudo ipfw add 1 pipe 1 ip from any to any | |
# Restore by removing the pipe : | |
# sudo ipfw delete 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment