sudo python mininetTopo.py # expect to see exact number of devices are launched.
pingall # expect to see all hosts ping each other successfully
pingall # same
h1 ping h4 # connected
link s1 s2 down # drop the link
h1 ping h4 # there could be a timeout before reconnection
link s1 s2 up
h4 on port 4001
h4 iperf -s -p 4001 & # start a iperf server on port 4001
h5 iperf -c h4 -p 4001 # no response
h1 iperf -c h4 -p 4001 # no response
h4 iperf -s -p 8080 & # start a iperf server on port 8080
h5 iperf -c h4 -p 8080 # local 10.0.0.5 port XXX connected with 10.0.0.4 port 8080
h2 to h5 on port 1000
h5 iperf -s -p 1000 & # start a iperf server on port 1000
h2 iperf -c h5 -p 1000 # no response
h1 iperf -c h5 -p 1000 # local 10.0.0.1 port XXX connected with 10.0.0.5 port 1000
h7 iperf -c h5 -p 1000 # local 10.0.0.7 port XXX connected with 10.0.0.5 port 1000
h5 iperf -s -p 8080 & # start a iperf server on port 8080
h2 iperf -c h5 -p 8080 # local 10.0.0.2 port XXX connected with 10.0.0.5 port 8080
premium to premium
iperf h1 h3 # Results: ~10Mbits
normal to premium
iperf h1 h2 # Results: ~5Mbits or ~10Mbits
iperf h2 h1 # Results: ~5Mbits or ~10Mbits
normal to normal
iperf h2 h5 # Results: ~5Mbits