Experimenting with Mininet

Mininet enables you to quickly create, customize, interact with, and share an OpenFlow prototype. Mininet's command line can be used to create a network (hosts and switches). Its CLI allows you to control and manage your entire virtual network from a single console. Furthermore, Mininet's API allows you to develop custom network applications with a few lines of Python script. Once a prototype works on Mininet, it can be deployed on a real network.

In this sample experiment, we will use the default topology of Mininet (by running $ sudo mn). This topology includes one OpenFlow switch connected to two hosts, plus the OpenFlow reference controller. This topology can also be specified on the command line with --topo=minimal ...

Get Software-Defined Networking with OpenFlow - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.