I have install mininet and then have run it but there are no ping between hosts.
ali@ubuntu:~$ sudo mn
No default OpenFlow controller found for default switch!
Falling back to OVS Bridge
Creating network
Adding controller
Adding hosts:
h1 h2
Adding switches:
s1
Adding links:
(h1, s1) (h2, s1)
Configuring hosts
h1 h2
Starting controller
Starting 1 switches
s1 ...
Starting CLI:
mininet> pingall
Ping: testing ping reachability
h1 -> X
h2 -> X
Results: 100% dropped (0/2 received)