Installing Mininet on Mac

Mininet creates a realistic virtual network, running real kernel, switch and application code, on a single machine (VM, cloud or native), in seconds, with a single command.  –

My main goal by installing Mininet on my Mac is to use it as a machine to play around with OpenFlow based SDN (Software-Defined Networking). The easiest way is to use the prepackaged Virtual Machine (VM) provided by Mininet.

Here are the steps:

1. Install virtualization system on your Mac. I have tried the free Virtualbox but doesn’t work with latest Mininet VM, just use VMWare Fusion 6 instead (they provide 30 days trial version). Planning to buy the license later 😉

2. Download the Mininet VM here: 

3. Unzip the VM, run the VM by opening the .ovf file. Here’s snapshot of running Mininet VM

4. We will need to run pre-installed Wireshark program inside the Mininet VM, therefore we will need X11 environment to display the GUI. I have problem forwarding X11 from the VM to my Mac.

My solution is to install the X11 inside the VM itself. Do this by using this command: apt-get install xinit, then apt-get install xinit –fix-missing. Once done, start the X server by using startx command, then try to open Wireshark using the sudo wireshark & command.

Screen Shot 2013-12-22 at 6.21.45 PM

Screen Shot 2013-12-22 at 6.21.54 PM

If those steps are done, we are good to go. I will write more about Mininet and OpenFlow based SDN (Software-Defined Networking) in the future.

Stay tuned!

PS: I am using Macbook Air 11″, Mid 2011 (1.5 GHz Intel Core i5, 4GB RAM)



  1. dlir · February 5, 2014

    Salam kenal,
    Finally I found another Indonesian yang main Openflow dkk-nya.
    Biasa pake controller atau network programming languages apa mas..??
    -Keep sharing and posting mas.

  2. sigitp · February 9, 2014

    Halo, salam kenal juga, baru mulai juga nih pake python/C, controller baru coba NOX POX ODL, sip, sharing2 juga dong 👍

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s