Basic onos

From NET Wiki
Jump to navigation Jump to search

(100P) Basic ONOS

  • Aim: To do the basic tutorial provided in ONOS [1]
    • In case the link is not working, you can follow this PDF
  • Hopefully, all of you have the image required for this exercise
  • Start the VM
    • Userid: tutorial1
    • pwd: tutorial1
  • Lets follow the steps provided in the ONOS tutorial [2]
  • Hints/Tips/Watchout:
    • Clicking on "reset" just resets ONOS. You will have to then click on "ONOS Gui" icon or "ONOS" icon to open a console into ONOS
      • Sometimes, clicking on "ONOS" icon does not launch anything. You will have to retry or try starting the "ONOS Gui" first and then the "ONOS" terminal.
      • Before the part starting with "flows commands", reactivate the onos app so that ping can work
      • When you do the last part, i.e. the GUI part, try to remove links (in mininet) and bring them back on and see the changes in the GUI
    • Notations used for switches
      • s1: switch mac id ending with "1"
      • s2: switch mac id ending with "2"
      • s11: switch mac id ending with "b"
      • s12: switch mac id ending with "d"
      • s21: switch mac id ending with "c"
      • s22: switch mac id ending with "e"
    • Notations used for Hosts
      • h1x is used to denote hosts connected to switch mac id ending with "b", i.e. to switch s11
        • E.g. h11 means the node with the smallest IP connected to switch MAC id ending with "b", i.e. 10.0.0.1
        • Similarly, h12 represents 10.0.0.2
      • h2x is used to denote hosts connected to switch mac id ending with "c"
      • h3x is used to denote hosts connected to switch mac id ending with "d"
      • h4x is used to denote hosts connected to switch mac id ending with "e"