8000
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?
Just a guess: Does the host have iperf installed?
try this man, spend some time fixing some issues in mininet https://github.com/SamyakSS83/mininet_working_ubuntu24
have u fixed this yet? i am facing the same issue
I have met the same problem in Ubuntu 25.04. And solved by this, hope this will help those who meet the same question:
mininet> h1 iperf -s & mininet> h2 iperf -c h1 ------------------------------------------------------------ Client connecting to 10.0.0.1, TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 1] local 10.0.0.2 port 60502 connected with 10.0.0.1 port 5001 [ ID] Interval Transfer Bandwidth [ 1] 0.0000-10.0027 sec 33.8 GBytes 29.0 Gbits/sec mininet>
Activity
greenbigfrog commentedon Apr 1, 2025
Just a guess: Does the host have iperf installed?
SamyakSS83 commentedon Aug 29, 2025
try this man, spend some time fixing some issues in mininet
https://github.com/SamyakSS83/mininet_working_ubuntu24
ducsssanh commentedon Nov 26, 2025
have u fixed this yet? i am facing the same issue
yama-lei commentedon Mar 11, 2026
I have met the same problem in Ubuntu 25.04. And solved by this, hope this will help those who meet the same question: