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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.