I have a VPS running Ubuntu 10.04 that I want to simulate network latency on. It looks like
tc is what I want to use, and I pulled this command from the examples from here: http://www.linuxfoundation.org/collaborate/workgroups/networking/netem
# tc qdisc add dev eth0 root netem delay 100ms
If I run this command, I get this error message:
$ sudo tc qdisc add dev eth0 root netem delay 100ms RTNETLINK answers: No such file or directory
I suspect that I might be missing whatever makes this command work. Searching lead me to believe that there might be kernel modules needed, but I couldn't be sure. I ran
lsmod on the machine and it comes up empty.
So, I'm lost. How can I get my simulation working?