Ask Your Question

Multiple mininet networks to same controller

asked 2015-03-24 14:07:03 -0700

Luke123 gravatar image

I want to connect two different mininet network to the same controller. That is two different topologys that is handle by the same controller.

eg: Lets say this is a company with two office in a city. The two office have seperate networks and I want to controll them central and therfor connect both of them to the same ODL-controller.

I think this is possible cause when you use the REST-API: localhost:8181/restconf/operational/network-topology:network-topology

It seems like you can get multiple topology-id back but i have just been able to see flow:1 (one topology).

I haven't been able to connect to different mininets at the same time.

I have been trying with this command: sudo mn --topo single,3 --mac --controller remote,ip= --switch ovsk

Is this possible and if it is would like some hint how this could be done.

Thanks in advances for answers!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-03-24 15:22:04 -0700


updated 2015-03-24 15:22:34 -0700


First thing you need to understand is OpenDaylight is more than just OpenFlow so you can have a BGP Topology, etc As for a 2nd OpenFlow Topology suchs as flow:2 or flow:3, I have no knowledge of doing that, and don't believe i seen it done.

The problems with your different mininet is they both have the same OpenFlow id's IE OpenFlow:1 for both topology, I'm not sure you can change this in the cli of mn, but i know you can change this if you're using a customs topology and set the the switch id with net.addSwitch(name, mac, ip) where the mac is the ID of the switch and this has to be unique across all switches connecting to OpenDaylight.


edit flag offensive delete publish link more


Thank you Chris, I have got it working now. It seems to working aslong as the switches/hosts have unique id. To get the connectivity between the machines I'm using GRE protocol.

Luke123 ( 2015-04-09 05:54:48 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-03-24 14:07:03 -0700

Seen: 500 times

Last updated: Mar 24 '15