I would like to simulate a network using mininet where the controller is running on a host in the network.
In all the mininet examples which I found, the controller communicates with the switches using the loopback interface, which simulates a case where the controller is directly connected to all the switches. I want to simulate a network where the controller has no direct connection to all the switches but is running on a host in the network (hence the openflow traffic needs to be routed as well).
So can I run a controller on one of the mininet hosts? Or is there any other way to simulate a network where the controller is not connected directly to all the switches.
Thanks!