Skip to contentSkip to conversation

Wan Simulation/latency Testing

LARTC [email protected] 1 participant 1 message Feb 26, 2004

lore
Share & tools
lore
#0 lore raw

Hi, i have a question if linux is able to do the same thing that commercial wan simulators do (which cost 7000 $ or more). Basicly i want to use the following setup.

Linux Router Machine
192.168.0.1 192.168.1.1 Eth0 192.168.10.1 Eth5

                      192.168.2.1 Eth1  192.168.100.1 WEB Server.
                      192.168.3.1 Eth2
                      192.168.4.1 Eth3
                      192.168.5.1 Eth4
---------------      |Incoming Interfaces           Ext If
|Test Clients | ->   | Eth0 256 kbit, 250 ms lat    Eth5 -> 100 mbit net
|_____________|      | Eth1 512 kbit, 100 ms lat    Eth5 -> 100 mbit net
                     | Eth2 1 mbit,    50 ms lat    Eth5 -> 100 mbit net
                     | Eth3 2 mbit,    40 ms lat    Eth5 -> 100 mbit net
                     | Eth4 10 mbit,   10 ms lat    Eth5 -> 100 mbit net

Basicly i want to be able from the test client to access a web application on the 100 mbit network but with a latency and bandwidth that simulates different WAN links. So for instance i want to be able from the test client to set default gw, any of the incoming interfaces in the linux machine. Then i want to send a HTTP request from 192.168.0.1 Client to 192.168.100.1 Server, and get the bandwidth restricted and also that the linux box shall add latency on all packets going through. Another "Wish/Feature" is that from the test client, it shall be possible to send the Web Request against any of the incoming interfaces with a PORT specification, for instance 192.168.4.1:8080 and it will be rerouted to192.168.100.1:8080 with the added latency and bandwidth restriction.

Am i completely lost here, or is it so that this is possible to do in Linux ??
Best Regards
Jonas Persson, Performance Analyst

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/