Exercises dc: Difference between revisions

Line 2: Line 2:


* (30P) Warmup (simple Tree) ($ => commands on VM, > => commands on mininet/pox, Q => Question)
* (30P) Warmup (simple Tree) ($ => commands on VM, > => commands on mininet/pox, Q => Question)
** $ sudo mn --topo tree,3 --mac --arp --switch ovsk --controller remote
  $ sudo mn --topo tree,3 --mac --arp --switch ovsk --controller remote
** $ h1 ping h8 (Q: What do you observe?)
  $ h1 ping h8  
** $ ./pox/pox.py
** (Q: What do you observe?)
** $ h1 ping h8 (Q: What do you observe?)
  $ ./pox/pox.py
** $ ./pox/pox.py samples.spanning_tree  
  $ h1 ping h8  
** $ h1 ping h8 (Q: What do you observe?)
** (Q: What do you observe?)
  $ ./pox/pox.py samples.spanning_tree  
  $ 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)  
* (40P) Create your own simple tree (binary, i.e. each node will connect to two nodes below it)  
** copy dcsimple.py ([https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/Exercises/Ex1/dcsimple.py]) to mininet/custom/
** copy dcsimple.py ([https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/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
  $ sudo mn –-custom dcsimple.py -–topo simple
** Check with ping
** Check with ping


Line 18: Line 21:
** copy dcfat.py ([https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/Exercises/Ex1/dcfat.py]) to mininet/custom/
** copy dcfat.py ([https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/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: s4, s5, s6, s7, Level 3: Hosts)
** 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
  $ sudo mn –-custom dcfat.py -–topo fat
** check with ping
** check with ping
** $ sudo mn –-custom dcfat.py -–topo fat --controller remote
  $ sudo mn –-custom dcfat.py -–topo fat --controller remote
** $ ./pox/pox.py samples.spanning_tree
  $ ./pox/pox.py samples.spanning_tree
** check with ping
** check with ping
783

edits