Simulating Network Latency?
ixmo asks: "I've just come around an interesting problem: to simulate low-bandwidth network links without buying expensive WAN simulators, I can connect two old Cisco routers back to back with serial cables, and control the bandwidth via the 'clock rate' IOS command, but how can I simulate network latency? Is there some OS tool or patch (for Linux/OpenBSD) that allows for tuning of network delay? Any hints?"
Use a longer cable.
Stand next to the router and simulate rough conditions... ... yank out the wire a couple times. ... play kick the router. ... simulate lightening by plugging a network cable into a 220V plug ... paint sunspots on your face and spew out some EMF pulses like the sun.
"Can of worms? The can is open... the worms are everywhere."
It's good fun telling people who come down here to visit (New Zealand) that the twists in our cat 5 go the other way - because the earth's magnetic field is reversed.
Made all the better when they discover that southern hemisphere monitors actually *are* different for exactly the same reason.
Dave
I write a blog now, you should be afraid.
Sign up with Comcast.
1. I put a linux box acting as router, firewall, apache server and internet connection on the network.
2. Then I post a story on slashdot with a link to the apache server.
3. ???
4. Instant latency!
(And by carefully choosing the size of the documents/jpegs/mpegs I can actually simulate different kinds of latency!!!)