130 likes | 544 Views
Install OpenFlow Mininet. 指導教授:王國禎 學生:洪維藩 國立交通大學資訊科學與工程研究所 行動計算與寬頻網路實驗室. 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.
E N D
Install OpenFlowMininet 指導教授:王國禎 學生:洪維藩 國立交通大學資訊科學與工程研究所 行動計算與寬頻網路實驗室
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.
Setup and Installation • Download the Mininet VM image • https://github.com/downloads/mininet/mininet/mininet-vm-ubuntu11.10-052312.vmware.zip • Download and install a virtualization system. (VirtualBox, VMware Workstation)
Login in linux • Login • ID: openflow • Password: openflow
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.
Simulator (cont.) • Display nodes: nodes • you can ping from host 0 to host 1: h2 ping -c 1 h3
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:
References • http://yuba.stanford.edu/foswiki/bin/view/OpenFlow/Mininet • http://yuba.stanford.edu/foswiki/bin/view/OpenFlow/MininetWalkthrough