Changes between Version 26 and Version 27 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopoQuagga/DesignSetup
- Timestamp:
- 04/25/17 16:47:21 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopoQuagga/DesignSetup
v26 v27 68 68 69 69 === iii. Delete Routes installed by InstaGENI === #del 70 To overcome the issues faced in topologies with loops due to the way routes are installed in InstaGENI, we need to delete those routes on each node. This can be done by turning off and then turning on all the interfaces on a node except ''' ''eth0'' ''. The script to do this task can be found at ''' ''http ://www.gpolab.bbn.com/experiment-support/Utilities/ClearRoutesIG.tar.gz'' '''.70 To overcome the issues faced in topologies with loops due to the way routes are installed in InstaGENI, we need to delete those routes on each node. This can be done by turning off and then turning on all the interfaces on a node except ''' ''eth0'' ''. The script to do this task can be found at ''' ''https://github.com/GENI-NSF/geni-support/raw/master/Utilities/ClearRoutesIG.tar.gz'' '''. 71 71 72 72 (1) Click on the node to be configured [[BR]] 73 73 (2) Scroll down till you see ''Install Tarball'' and click on ''Add''. [[BR]] 74 (3) Enter the url ''http ://www.gpolab.bbn.com/experiment-support/Utilities/ClearRoutesIG.tar.gz''. Enter ''/local'' as the ''Install Path''. [[BR]]74 (3) Enter the url ''https://github.com/GENI-NSF/geni-support/raw/master/Utilities/ClearRoutesIG.tar.gz''. Enter ''/local'' as the ''Install Path''. [[BR]] 75 75 (4) Scroll down till you see ''Execute Command'' and click on ''Add''. Enter ''sh /local/ClearRoutesIG.sh'' in the box. [[BR]] 76 76 77 77 === iv. Disable RP Filtering === #disable 78 Reverse Path Filtering is enabled by default in Linux. This creates issues for topologies with loops. Hence we have to disable Reverse Path Filtering on all interfaces except ''' ''eth0'' '''. The script to turn off Reverse Path Filtering can be found at ''' ''http ://www.gpolab.bbn.com/experiment-support/Utilities/DisableRPFiltering.tar.gz'' '''.78 Reverse Path Filtering is enabled by default in Linux. This creates issues for topologies with loops. Hence we have to disable Reverse Path Filtering on all interfaces except ''' ''eth0'' '''. The script to turn off Reverse Path Filtering can be found at ''' ''https://github.com/GENI-NSF/geni-support/raw/master/Utilities/DisableRPFiltering.tar.gz'' '''. 79 79 80 80 1) Click on the node to be configured [[BR]] 81 81 (2) Scroll down till you see ''Install Tarball'' and click on ''Add''. [[BR]] 82 (3) Enter the url ''http ://www.gpolab.bbn.com/experiment-support/Utilities/DisableRPFiltering.tar.gz''. Enter ''/local'' as the ''Install Path''. [[BR]]82 (3) Enter the url ''https://github.com/GENI-NSF/geni-support/raw/master/Utilities/DisableRPFiltering.tar.gz''. Enter ''/local'' as the ''Install Path''. [[BR]] 83 83 (4) Scroll down till you see ''Execute Command'' and click on ''Add''. Enter ''sh /local/DisableRPFiltering.sh'' in the box. [[BR]] 84 84 … … 91 91 {{{ 92 92 #!html 93 <table border="0" cellpadding="0" cellspacing="0"><tr><td><img src="http ://trac.gpolab.bbn.com/gcf/raw-attachment/wiki/Graphics/stock_notes.png" width="40" height="40" alt="Note"></td><td> The download command does not allow naming it simply uses the slice name to generate a RSpec file. We have save a copy of this RSpec, which you may choose to download, available at <a href=" http://www.gpolab.bbn.com/experiment-support/quagga/Quagga_4node_rspec.xml">here</a> </td></tr></table>93 <table border="0" cellpadding="0" cellspacing="0"><tr><td><img src="https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/GRAPHICS/stock_notes.png" width="40" height="40" alt="Note"></td><td> The download command does not allow naming it simply uses the slice name to generate a RSpec file. We have save a copy of this RSpec, which you may choose to download, available at <a href=" https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/Quagga/Quagga_4node_rspec.xml">here</a> </td></tr></table> 94 94 </li> 95 95 </ol> … … 192 192 193 193 194 Once we have verified the routing functions for the virtual router, we add end hosts to validate the end-to-end communication. As the figure shows below, we create the same four-node topology by loading [http ://www.gpolab.bbn.com/experiment-support/quagga/Quagga_4node_rspec.xml Quagga_4node_rspec.xml] on the GENI Portal and create two more VMs as a client and a server, and add two virtual links. The links between end-hosts and edge routers are configured as below:194 Once we have verified the routing functions for the virtual router, we add end hosts to validate the end-to-end communication. As the figure shows below, we create the same four-node topology by loading [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/Quagga/Quagga_4node_rspec.xml Quagga_4node_rspec.xml] on the GENI Portal and create two more VMs as a client and a server, and add two virtual links. The links between end-hosts and edge routers are configured as below: 195 195 {{{ 196 196 client ----- router-1: 192.168.10.0/24 … … 229 229 230 230 231 Or, we can also write a script to install `iperf` to the client and server, load it as an install script. The install scripts for client and server can be downloaded from [http ://www.gpolab.bbn.com/experiment-support/quagga/install_script.tar.gz here]. An sample RSpec with iperf install script and execute command can be downloaded at [http://www.gpolab.bbn.com/experiment-support/quagga/Quagga_4node_final_rspec.xml `Quagga_4node_final`].231 Or, we can also write a script to install `iperf` to the client and server, load it as an install script. The install scripts for client and server can be downloaded from [https://github.com/GENI-NSF/geni-tutorials/raw/master/Quagga/install-script.tar.gz here]. An sample RSpec with iperf install script and execute command can be downloaded at [https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/Quagga/Quagga_4node_final_rspec.xml `Quagga_4node_final`]. 232 232 233 233 [[Image(GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup:4node-add-endhosts.png)]]