mininetopenflowpox

Establish TCP connection between hosts


If my designated controller succeeded to ping between two hosts, is it possible to make TCP connection between them via Mininet? I did mininet>h0 ping h4 successfully but pinging is just ICMP packets not TCP!!

Thank you


Solution

  • If the ping was ok you can try iperf which will test bandwidth over TCP (read here https://github.com/mininet/mininet/wiki/Bufferbloat#part-3-streaming-video---sketch-the-tcp-cwnd-and-buffer-occupancy) You could also try to setup a simple http server on mininet on some host which will stand over TCP.

    mininet> h1 python -m SimpleHTTPServer 80 &
    mininet> h2 wget -O - h1
    

    Both of the above should work and give you TCP connections