Changes between Version 3 and Version 4 of HowTo/DeleteRoutesInstalledByInstaGENI
- Timestamp:
- 11/16/16 15:08:03 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/DeleteRoutesInstalledByInstaGENI
v3 v4 1 1 [[PageOutline]] 2 This page describes how to delete routes that are automatically installed by InstaGENI. For any comments please contact us at [mailto:help@geni.net]. 2 This page describes how to delete routes that are automatically installed by InstaGENI. You may need to do this if your topology has loops; the routes installed by InstaGENI may not be what you want. 3 4 5 For any comments please contact us at [mailto:help@geni.net]. 3 6 4 7 == Delete Routes Installed by InstaGENI == 5 8 6 To overcome issues faced by topologies with loops due to the way routes are installed by Instageni, you need to delete the routes. In order to delete the routes automatically installed by InstaGENI on a node, you need to do the following things. 9 To delete the routes automatically installed by InstaGENI on a node, you need to: 10 1. Turn off all interfaces on the node except eth0. 11 1. Turn on all the interfaces on the node that were shut down. 7 12 8 (1) Turn off all the interfaces on the node except eth0. [[BR]] 9 (2) Turn on all the interfaces on the node that were shut down. [[BR]] 10 11 The following script was created to Delete Routes Installed by InstaGENI: 13 The following script will do this for you: 12 14 {{{ 13 15 #!/bin/bash … … 17 19 ifconfig -a | grep eth | awk '{ if (substr($1,4,4) !=0) { print "sudo ifconfig " $1 " up"}}' |sh 18 20 }}} 21 A compressed tar version of this script suitable for use as an install/execute script can be [http://www.gpolab.bbn.com/experiment-support/Utilities/ClearRoutesIG.tar.gz downloaded here]. 19 22 20 The script to do this task can be found at ''' ''http://www.gpolab.bbn.com/experiment-support/Utilities/ClearRoutesIG.tar.gz'' '''.23 For information on adding and install/execute script to your RSpec, see [wiki:HowTo/WriteInstallScript this page]. 21 24 22 If you are using ''JACKS'' to create your slice, follow the following steps to Delete Routes Installed by InstaGENI:23 24 1) Click on the node to be configured [[BR]]25 (2) Scroll down till you see ''Install Tarball'' and click on ''Add''. [[BR]]26 (3) Enter the url ''http://www.gpolab.bbn.com/experiment-support/Utilities/ClearRoutesIG.tar.gz''. Enter ''/local'' as the ''Install Path''. [[BR]]27 (4) Scroll down till you see ''Execute Command'' and click on ''Add''. Enter ''sh /local/ClearRoutesIG.sh'' in the box. [[BR]]28 29