Mininet install

SDN_NFV 2014. 2. 13. 10:44

OpenFlow를 테스트해 볼 수 있는 Mininet.

ref) http://mininet.org/download/

* How to install:

i) install Ubuntu on Virtualization System (VirtualBox, Qemu....)

ii) install mininet

 apt-get update

 apt-get git

git clone git://github.com/mininet/mininet

 mininet/util/install.sh -a


command:


mininet> ?

Documented commands (type help <topic>):
========================================
EOF    exit   intfs     link   noecho       pingpair      py    source  xterm
dpctl  gterm  iperf     net    pingall      pingpairfull  quit  time
dump   help   iperfudp  nodes  pingallfull  px            sh    x

You may also send a command to a node using:
  <node> command {args}
For example:
  mininet> h1 ifconfig

The interpreter automatically substitutes IP addresses
for node names when a node is the first arg, so commands
like
  mininet> h2 ping h3
should work.

Some character-oriented interactive commands require
noecho:
  mininet> noecho h2 vi foo.py
However, starting up an xterm/gterm is generally better:
  mininet> xterm h2

mininet>


mininet> nodes
available nodes are:
c0 h1 h2 s1
mininet> net
h1 h1-eth0:s1-eth1
h2 h2-eth0:s1-eth2
s1 lo:  s1-eth1:h1-eth0 s1-eth2:h2-eth0
c0




설정

트랙백

댓글