Skip to content

ShafaghRastegari/sdn-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sdn-simulation

A simple project with mininet and onos

Usage

Suppose you already have installed docker, docker-compose and other common requirements, follow these steps.

  1. Run docker-compose file to run mininet and onos
docker-compose docker-compose.yaml up
  1. Go to mininet terminal
docker exec -it mininet /bin/bash
  1. Run simple topology in mininet terminal with remote controller which here is onos
  • note that onos-ip here is the ip that onos is running on it in your computer
mn --controller remote,ip=onos-ip --topo=tree,depth=2
  1. Open a browser and go to http://localhost:8181 to see your topology

Result

If everything is correct you can see these results

onos

Use pingall command to check the connectivity

pingall

Custom topology

You can find some custom topology in topology folder