top of page

This guide show how to use remote controller in this guide ONOS is the controller

Make sure ONOS is already running

1. Start ONOS service
$ buck run onos-local

*New terminal

2. Open ONOS CLI

$ onos localhost

*New terminal

2. Enable Apps fwd in ONOS

$ app active org.onosproject.fwd

*So H1 can find the path to communicate with H2

2. Get ONOS IP address

$ ifconfig

*IP adress should be in same network with Mininet

Exp: eth0 192.168.56.101

2. Run Mininet using remote controller
$ sudo mn --controller=remote,ip=192.168.56.101,port=6633

 

2. Ping H1 and H2

mininet> h1 ping h2
You should see a successful ping

Done.

Mininet Using Remote Controller (ONOS)

bottom of page