Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this example, 8101 is the karaf port, and 192.168.123.1 is the IP address of onos1.

How can I connect to the ONOS GUI if ONOS is running in a Mininet host inside a VM?

One way is to use ssh port forwarding, e.g.

ssh -L 8081:192.168.123.1:8081 mininet-vm

from your laptop. This forwards port 8081 on 192.168.123.1 in mininet-vm to port 8081 on your laptop. (8081 is the default ONOS GUI port, and 192.168.123.1 is the default IP address for onos1.)

Then open up http://localhost:8101/onos/ui/ in your browser.

...