Last active
August 29, 2015 14:06
-
-
Save pichuang/8620d4f8c9def794ac3d to your computer and use it in GitHub Desktop.
Mininet testing Topology
This file contains 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 characters
#!/bin/sh -ev | |
#Reference: http://www.routereflector.com/wp-content/uploads/2013/11/linear.png | |
# http://www.routereflector.com/2013/11/mininet-as-an-sdn-test-platform/ | |
CONTROLLER_IP=192.168.1.45 | |
mn --topo linear,2 --mac --switch ovsk,protocols=OpenFlow13 --controller remote,$CONTROLLER_IP |
This file contains 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 characters
#!/bin/sh -ev | |
#Reference: http://www.routereflector.com/wp-content/uploads/2013/11/tree.png | |
# http://www.routereflector.com/2013/11/mininet-as-an-sdn-test-platform/ | |
CONTROLLER_IP=192.168.1.45 | |
mn --topo tree,3 --mac --switch ovsk,protocols=OpenFlow13 --controller remote,$CONTROLLER_IP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment