Skip to content

irissky/cs4226_program_assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task 1 MininetTopo

sudo python mininetTopo.py # expect to see exact number of devices are launched.

image-20211117213502945

Task 2 PingAll

pingall # expect to see all hosts ping each other successfully

image-20211117213532399

Task 3 Fault Tolerance

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

image-20211117213732413

image-20211117213618353

Task 4 Firewall

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

image-20211117212511829

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

image-20211117212613458

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

image-20211117212851585

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

image-20211117213134930

Task 5 Premium Traffic

premium to premium

iperf h1 h3 # Results: ~10Mbits

image-20211117213322046

normal to premium

iperf h1 h2 # Results: ~5Mbits or ~10Mbits
iperf h2 h1 # Results: ~5Mbits or ~10Mbits

image-20211117213345926

normal to normal

iperf h2 h5 # Results: ~5Mbits

image-20211117213402588

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages