Page 1 of 1

Using WAN Emulator

Posted: 30. Oct 2009, 10:34
by Norb
I have a problem using the WAN emulator, netem from within my VirtualBox host.

In order to isolate the issue I created a brand new guest os (Suse 10) in my Windows Vista (SP2) host. All settings are the defaults, i.e. I'm using the NAT setting (also tried Bridged Adapter to no avail).

# ping localhost

works fine, then i use tc qdis to add a rtt delay as follows...

# tc qdisc add dev lo root netem delay 5.0ms

and

# tc qdisc show dev lo
> qdisc netem 8001: limit 100 delay 5.0ms

now when i try to ping again it causes my VM to hang causing me to have to "power off". I can't even CTRL C to interrupt the command. Sometimes the ping will work for a few "pings" but it always hangs.

Any ideas ? Any help gladly received.