Copyright © 2010, Install OpenFlow Mininet 指導教授:王國禎 學生:洪維藩 國立交通大學資訊科學與工程研究所 行動計算與寬頻網路實驗室
Copyright © 2010, Introduction Mininet creates scalable (up to hundreds of nodes, depending on your configuration) software-defined (e.g. OpenFlow) networks on a single PC by using Linux processes in network namespaces. It allows you to quickly create, interact with, customize and share a software defined network prototype, and provides a smooth path to running on hardware. Build in Stanford University.
Copyright © 2010, Setup and Installation 1.Download the Mininet VM image 2. vm-ubuntu vmware.ziphttps://github.com/downloads/mininet/mininet/mininet- vm-ubuntu vmware.zip 3.Download and install a virtualization system. (VirtualBox, VMware Workstation)
Copyright © 2010, Setup and Installation
Copyright © 2010, Login in linux Login ID: openflow Password: openflow
Copyright © 2010, Simulator Start a minimal topology and enter the CLI:. All four entities (2 host processes, 1 switch process, 1 reference controller) are now running in the VM. The controller can be outside the VM, and instructions for that are at the bottom.
Copyright © 2010, Simulator (cont.) Display nodes: nodes you can ping from host 0 to host 1: h2 ping -c 1 h3
Copyright © 2010, Simulator (cont.) Testing ping all Custom topologies can be easily defined as well, using a simple Python API, and an example is provided in custom/topo-2sw-2host.py. This example connects two switches directly, with a single host off each switch:
Copyright © 2010, References 1. nethttp://yuba.stanford.edu/foswiki/bin/view/OpenFlow/Mini net 2. netWalkthroughhttp://yuba.stanford.edu/foswiki/bin/view/OpenFlow/Mini netWalkthrough
Copyright © 2010, Thank you!