My Final Work, Create simple SDN Topology, and analyze it
- clone repo
cd infrastructure
chmod +x docker.sh
chmod +x setup-mininet.sh
sudo ./setup-mininet.sh
sudo ./docker.sh
sudo docker run -p 6653:6653 -p 6640:6640 -p 8181:8181 -p 8101:8101 -p 9876:9876 -d --name onos onosproject/onos
sudo mn --custom stp-topo-4switch.py --topo=mytopo --controller=remote --link tc,bw=1,delay=1ms
- localhost:8181/onos/ui/index.html
- Run onos container
sudo docker start onos
- run mininet topology
- test ping
xterm h1 h2
- on h2 (as server)
iperf -s -u -p 5566 -i 1 > data.txt
- on h1 (as client)
iperf -c 'ip server' -u -b 2m -t 15 -p 5566 -i 1
- repeat xterm from another host to another host