Changes between Initial Version and Version 1 of Internal/OpenFlow/MiniNet


Ignore:
Timestamp:
Feb 22, 2012, 11:08:32 PM (12 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/MiniNet

    v1 v1  
     1= Mininet - Setup and usage =
     2== I. setup ==
     31. Make sure your machine is kvm enabled - e.g. `cpu-checker`'s `kvm-ok` command should return a response like this:
     4{{{
     5# kvm-ok
     6INFO: /dev/kvm exists
     7KVM acceleration can be used
     8}}} 
     92. Install kvm/qemu packages.
     10{{{
     11# apt-get update
     12# apt-get install qemu-kvm unzip
     13}}}
     143. fetch the mininet image. The current one can be downloaded from [http://www.openflow.org/downloads/OpenFlowTutorial-101311.zip here]. Unzipping the package should produce one file, !OpenFlowTutorial-disk1.vdi.
     154. Launch qemu:
     16{{{
     17# qemu -m 512 -hda OpenFlowTutorial-disk1.vdi -net nic,model=virtio -net user,net=192.168.101.0/24,hostfwd=tcp::8022-:22
     18}}}
     19Given that you have X11 forwarding enabled for your SSH session, a window should pop up and you should see the image boot. [[BR]]
     20At this point you have the choice of logging in on that window, or via SSH as follows:
     21{{{
     22# ssh -Y -p 8022 openflow@localhost
     23}}}
     24In either case, both user and password are ''openflow''.