Changes between Version 3 and Version 4 of HowTo/DeleteRoutesInstalledByInstaGENI


Ignore:
Timestamp:
11/16/16 15:08:03 (3 years ago)
Author:
Vic Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/DeleteRoutesInstalledByInstaGENI

    v3 v4  
    11[[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].
     2This 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
     5For any comments please contact us at [mailto:help@geni.net].
    36
    47== Delete Routes Installed by InstaGENI ==
    58
    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.
     9To 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.
    712
    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:
     13The following script will do this for you:
    1214{{{
    1315#!/bin/bash
     
    1719ifconfig -a | grep eth | awk '{ if (substr($1,4,4) !=0) { print "sudo ifconfig " $1 " up"}}' |sh
    1820}}}
     21A 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].
    1922
    20 The script to do this task can be found at ''' ''http://www.gpolab.bbn.com/experiment-support/Utilities/ClearRoutesIG.tar.gz'' '''.
     23For information on adding and install/execute script to your RSpec, see [wiki:HowTo/WriteInstallScript this page].
    2124
    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