Created
October 25, 2016 18:57
-
-
Save LKS90/ac76bba3d6f1e1a4811a72448fc8c464 to your computer and use it in GitHub Desktop.
Revisions
-
LKS90 created this gist
Oct 25, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ #!/bin/sh sudo su root mininet apt-get update apt-get install -y qemu-system wget -c http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img ovs-vsctl add-br br0 ifconfig br0 up ovs-vsctl add-port eth0 br0 ifconfig eth0 0 dhclient br0 ip tuntap add mode tap vport 1 ip tuntap add mode tap vport 2 ip tuntap add mode tap vport 3 ovs-vsctl add-port br0 vport 1 ovs-vsctl add-port br0 vport 2 ovs-vsctl add-port br0 vport 3