Exercises dc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Exercise I: Data Centers = * (30P) Warmup (simple Tree) ($ => commands on VM, > => commands on mininet/pox, Q => Question) ** $ sudo mn --topo tree,3 --mac --arp --switch ovsk...") |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Exercise I: Data Centers = | = Exercise I: Data Centers = | ||
== (30P) Warmup (simple Tree) ($ => commands on VM, > => commands on mininet/pox, Q => Question) == | |||
* (40P) Create your own simple tree | $ sudo mn --topo tree,3 --mac --arp --switch ovsk --controller remote | ||
** copy dcsimple.py ([https:// | mininet> h1 ping h8 | ||
** (Q: What do you observe?) | |||
$ ./pox/pox.py | |||
mininet> h1 ping h8 | |||
** (Q: What do you observe?) | |||
$ ./pox/pox.py samples.spanning_tree | |||
mininet> h1 ping h8 | |||
** (Q: What do you observe?) | |||
== (40P) Create your own simple tree (binary, i.e. each node will connect to two nodes below it) == | |||
** copy dcsimple.py ([https://projects.gwdg.de/projects/mayutan-public/repository/raw/courses/SDN/2017_2018_WS/exercises/ex1/dcsimple.py]) to mininet/custom/ | |||
** modify dcsimple.py to create hosts, switches and connections for a three level tree | ** modify dcsimple.py to create hosts, switches and connections for a three level tree | ||
$ sudo mn --custom dcsimple.py --topo simple | |||
** Check with ping | ** Check with ping | ||
== (30P) Create your own Fattree == | |||
** copy dcfat.py ([https:// | ** copy dcfat.py ([https://projects.gwdg.de/projects/mayutan-public/repository/raw/courses/SDN/2017_2018_WS/exercises/ex1/dcfat.py]) to mininet/custom/ | ||
** modify dcfat.py to create a fat tree (level 0: so & s1, level 1: s2 & s3, level 2: | ** modify dcfat.py to create a fat tree (level 0: so & s1, level 1: s2 & s3, level 2: s4, s5, s6, s7, Level 3: Hosts) | ||
$ sudo mn --custom dcfat.py --topo fat | |||
** check with ping | ** check with ping | ||
$ sudo mn --custom dcfat.py --topo fat --controller remote | |||
$ ./pox/pox.py samples.spanning_tree | |||
** check with ping | ** check with ping |
Latest revision as of 13:07, 12 October 2017
Exercise I: Data Centers
(30P) Warmup (simple Tree) ($ => commands on VM, > => commands on mininet/pox, Q => Question)
$ sudo mn --topo tree,3 --mac --arp --switch ovsk --controller remote mininet> h1 ping h8
- (Q: What do you observe?)
$ ./pox/pox.py mininet> h1 ping h8
- (Q: What do you observe?)
$ ./pox/pox.py samples.spanning_tree mininet> h1 ping h8
- (Q: What do you observe?)
(40P) Create your own simple tree (binary, i.e. each node will connect to two nodes below it)
- copy dcsimple.py ([1]) to mininet/custom/
- modify dcsimple.py to create hosts, switches and connections for a three level tree
$ sudo mn --custom dcsimple.py --topo simple
- Check with ping
(30P) Create your own Fattree
- copy dcfat.py ([2]) to mininet/custom/
- modify dcfat.py to create a fat tree (level 0: so & s1, level 1: s2 & s3, level 2: s4, s5, s6, s7, Level 3: Hosts)
$ sudo mn --custom dcfat.py --topo fat
- check with ping
$ sudo mn --custom dcfat.py --topo fat --controller remote $ ./pox/pox.py samples.spanning_tree
- check with ping