1

I have build custom network topology in mininet 105 switches connected with each other by speficied logic, and every switch has a node connected with that.

the problem is when i ping s2 --> s94 packet reaches to the destination but when i invoke ping from h2 --> h94 it shows total packet loss.

can anyone guide me why is that? its important since i have to generate traffic over network.
i am using Mininet Vm http://mininet.org/download/

Gulzi
  • 91
  • 1
  • 7
  • Which SDN controller are you using? – Icaro Camelo Dec 02 '14 at 16:28
  • i am using opendaylight which do support loop, i guess the problem is with topology, which i am trying to narrow it down... – Gulzi Dec 03 '14 at 15:59
  • Verify if there is some specific rule blocking this flow in the flows tables. But I think it's not the problem. Try restart the controller and do a 'pingall­'. – Icaro Camelo Dec 05 '14 at 16:06
  • thanks Icaro, i figured it out...problem was with topology, actually i was reading txt file for topology creation, and there was duplications of links... – Gulzi Dec 07 '14 at 04:01

3 Answers3

0

For Mininet 2.0.0, the default controller for the mn command is ovs-controller (which can be installed automatically in Ubuntu.) Unfortunately ovs-controller only supports up to 16 switches. If you want to use more than 16 switches, you should use a controller that supports more than 16 switches .


Solution: Try POX controller!

GITHUB download link

Documentation

0

Use a pox controller. In the controller terminal,

$cd pox $./pox.py openflow.discovery forwarding.l2_learning

Now try a pingall

Anusha
  • 647
  • 11
  • 29
0

If the topology contains loops I'm not sure if pox will do the job. Previously had a similar issue when I basically needed STP or similar. The Onos controller can do this for you.

What could be mentioned here is that switches in mininet are running in the host net namespace (as apposed to hosts that are running in their own namespaces). So pinging from s2 is likely to give you weird results anyway. If you for example would do s2 ifconfig you would see all interfaces of all switches. My point is, testing connectivity by using the switches can be misleading.

Also, as the other posts tell you, you obviously need a OF controller.

Robert Erneborg
  • 69
  • 2
  • 12