WordPress.com



MININET INSTALLATION AND OPERATION FOR WINDOWS 10INSTALL VIRTUALBOX Download Mininet VM, .Download PuTTY PuTTY allows you to run a Wireshark terminal outside of Virtual Box.To get into the Mininet VM you must SSH into it using X11. You do this using Xming. Once Xming is installed, you double click on it and it runs in the background. Xming is a free software port of the X Window Server to Microsoft Windows. Xming asks for a username and password, go to a download site that does not require it. Double click on the Mininet installer and it will create the VM in Virtualbox (don’t run Virtualbox and then try to install from a VM).Wireshark is part of the Mininet package. Fire up Virtualbox. The Mininet VM is now installed:Eth0 is set up (note IP Address 192.168.56.101). Check with $ ifconfig eth0 Then start the VM so PuTTY can connect to it. Hit Start on the VM:Login: mininetPW: mininetRun ifconfig at $ prompt to get IP Address.Note that eth1 is not set up, so do this:Check ifconfig eth1:Double click on Xming to set up the X11 tunnel.PuTTY setup:Type in the Host IP Address, 192.168.56.101 in my case.Then set up the SSH Connection:>Connection>>SSH>>>X11Tick, Enable X11. This has to be done each time you start a PuTTY session unless you save this configuration session.Then log in to Mininet in the terminal window:Run Wireshark in the PuTTY terminalWireshark will fire up:Filter “of” if you run the default mn setup to see the openflow (of) packets.This is the OpenFlow filter. Select LoopbackThen run mininet:>>$ sudo mnWireshark will then populate OF switch:Xterm h1 h2To use the Miniedit GUI, at the command line in the PUTTY terminal, type:sudo ~/mininet/examples/miniedit.pyThis will launch the GUI:Then you can create network, here, drag and drop 2 hosts and an SDN controller and switch and run:Right Click to see details on the nodes:Hit Run to run the network:The network is then running. Go to root terminal to run commands:Then run wireshark (see above) to see packets:In the root terminal, sudo wireshark &:Now you can view the various interfaces and the packets between them. You can better identify what is going on by filtering the PDU types. For example, OpenFlow packets between the controller and switch are TCP packets. Here are the Miniedit tools: ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download