Mininet You can use mininet to set up virtual network to debug. mn --link tc,bw=20,loss=30,delay=600ms xterm h1 xterm h2