72 | | - '''2.3.2''' On the terminal where you are logged in on node "Switch", rerun "ifconfig" to see the IP addresses on each interface. |
73 | | [[BR]] |
74 | | - '''2.3.3''' Identify the two interfaces that you want to monitor: the interfaces with IP addresses 192.168.2.1(left) and 192.168.3.1(right) respectively. On the !LabWiki page, in your ruby script, find the following lines: |
75 | | {{{ |
76 | | ###### Change the following to the correct interfaces ###### |
77 | | left = 'eth1' |
78 | | right = 'eth3' |
79 | | ###### Change the above to the correct interfaces ###### |
80 | | }}} |
81 | | - '''2.3.4''' Change eth1 and eth3 to the corresponding two interfaces you found with IP addresses 192.168.2.1 (the interface that connects to the left path) and 192.168.3.1 (the interface that connects to the right path) and press the "save" icon on your !LabWiki page. |
82 | | |
83 | | == 3. Run your experiment == |
84 | | |
85 | | An example OpenFlow Controller that assigns incoming TCP connections to alternating paths '''based on total number of flows''' (round robin) is already downloaded for you. You can find it (load-balancer.rb) in the home directory on node "Switch". [[BR]] |
86 | | |
87 | | After you started your Load Balancer, you should be able to see the following (Switch id may vary): |
88 | | {{{ |
| 74 | === 3.1 Start your experiment with existing configuration === |
| 75 | - '''3.1.1''' Start the controller on switch. An example OpenFlow Controller that assigns incoming TCP connections to alternating paths '''based on total number of flows''' (round robin) is already downloaded for you. You can find it (load-balancer.rb) in the home directory on node "Switch". [[BR]] |
| 76 | After you started your Load Balancer, you should be able to see the following (Switch id may vary): |
| 77 | {{{ |