sudo mn
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2
*** Adding switches:
s1
*** Adding links:
(h1, s1) (h2, s1)
*** Configuring hosts
h1 h2
*** Starting controller
c0
*** Starting 1 switches
s1 ...
*** Starting CLI:
mininet> iperf
*** Iperf: testing TCP bandwidth between h1 and h2
it just get stuck here for minutes. Maybe something cannot run on the latest ubuntu?