Emulating a WAN connection

WANEm is used to emulate a WAN connection, enabling the control over bandwidth, latency, packet dropping/corruption and other aspects. We shall use it in order

WANem is distributed in the form of a bootable CD with Linux Knoppix O/S. A VM appliance is available for download.

We shall connect the two machines using deltaShaper through WANem in order to test the system in varying network settings.

Using WANem

Linux Routing

We can route the traffic of the machines using our video-conferencing tool to go through the WANem VM:

#route all traffic through a given machine
route add default gw 146.193.41.207 eth0

#route the traffic for a single host through a given machine
route add –host 192.168.140.12 netmask 0.0.0.0 gw 192.168.140.20