Exercises lb: Difference between revisions

Line 1: Line 1:
= Exercise: Load balancers =
= Exercise: Load balancers =
* Setup will be as shown in Figure [https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/Exercises/ex2/Load_balancer-fig.pdf]
* Setup will be as shown in Figure [https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/Exercises/ex2/Load_balancer-fig.pdf]
* (40P) Pre-defined servers
 
== (40P) Pre-defined servers ==
** AIM: Http requests from different clients will be directed to different pre-defined servers
** AIM: Http requests from different clients will be directed to different pre-defined servers
   $ sudo mn --topo single,6 --mac --arp --controller remote
   $ sudo mn --topo single,6 --mac --arp --controller remote
Line 20: Line 21:
*** Are both servers getting an equal share
*** Are both servers getting an equal share


* (60P) Modified Load_balancer
== (60P) Modified Load_balancer ==
** Now modify pox/pox/misc/ip_loadbalancer.py to select server in a round robin fashion
** Now modify pox/pox/misc/ip_loadbalancer.py to select server in a round robin fashion
783

edits