Changes between Version 29 and Version 30 of GENIEducation/SampleAssignments/IPRouting/Procedure


Ignore:
Timestamp:
09/12/13 16:53:48 (11 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIEducation/SampleAssignments/IPRouting/Procedure

    v29 v30  
    6666       <li> Reserve resources within this slice using the <a href="http://www.gpolab.bbn.com/experiment-support/IPRouting/EG-3nodes-mesh.rspec"> EG-3nodes-mesh </a>rspec</li>
    6767    </ol>
    68            
     68           <b>Action:Take a screenshot of your slice when all the nodes are ready and include it in your write up</b>
    6969                 
    7070          </td>
     
    7272</table>
    7373}}}
    74 '''Action:Take a screenshot of your slice when all the nodes are ready and include it in your write up'''
    75 ----
     74
     75[[BR]]
    7676
    7777{{{
     
    8888         <h4> Questions: </h4>
    8989             <ol>
    90               <li> <b>What happens when you traceroute from A to IP address 192.168.2.2? Why? </b> <br/>Include the output of the traceroute in your writeup</li>
    91               <li> <b>Setup the routing from A to 192.68.2.2 so that it goes through B. Was it enough to just modify the routing tables? What else  did you need to change in order for the traffic to flow? </b> <br/>In your writeup include all the commands you ran and a screenshot of the routing configuration</li>
    92               <li> <b>What happens when you traceroute from A to IP address 192.168.2.2 after you setup the static routes? </b> <br/>In your writeup include a screenshot of the traceroute output.</li>
     90              <li> <b>What happens when you traceroute from A to IP address 192.168.2.12? Why? </b> <br/>Include the output of the traceroute in your writeup</li>
     91              <li> <b>Setup the routing from A to 192.68.2.12 so that it goes through B. Was it enough to just modify the routing tables? What else  did you need to change in order for the traffic to flow? Ensure that you have connectivity by running a ping from A to 192.168.2.12</b> <br/>In your writeup include all the commands you ran and a screenshot of the routing configuration</li>
     92              <li> <b>What happens when you traceroute from A to IP address 192.168.2.12 after you setup the static routes? </b> <br/>In your writeup include a screenshot of the traceroute output.</li>
    9393             </ol>       
    9494
     
    9797</table>
    9898}}}
    99 ----
     99[[BR]]
    100100{{{
    101101#!html
     
    126126</table>
    127127}}}
     128----
    128129
    129 
     130[[Image(GENIExperimenter/Tutorials/Graphics:tip.png, 40, left)]]
    130131= Tips =
    131 [[BR]]
    132 [[Image(GENIExperimenter/Tutorials/Graphics:tip.png, 20, left)]]Remember that you can use “ifconfig” to determine which Ethernet interface (e.g., eth0) is bound to what IP address at each of the nodes.
    133 
    134 [[Image(GENIExperimenter/Tutorials/Graphics:tip.png, 20, left)]]In order to enable IP forwarding of packets on a node you have to execute the following command:
    135 {{{
    136 echo 1 > /proc/sys/net/ipv4/ip_forward
     132  * If you get a "Command not found " error when executing standard commands like `ifconfig` add `sbin` to your path:
     133    {{{
     134       export PATH=$PATH:/sbin
     135    }}}
     136  * Remember that you can use “ifconfig” to determine which Ethernet interface (e.g., eth0) is bound to what IP address at each of the nodes.
     137  * In order to enable IP forwarding of packets on a node you have to execute the following command:
     138  {{{
     139sudo sysctl -w net.ipv4.ip_forward=1
    137140}}}
    138 
    139 [[Image(GENIExperimenter/Tutorials/Graphics:tip.png, 20, left)]] A new slice will always be in its initial state with NO routing set up!
    140 ----
     141  * A new slice will always be in its initial state with NO routing set up!
     142  * A useful tool to debug the packet flow is [http://www.tcpdump.org/ tcpdump]. In order to install it run:
     143    {{{
     144       sudo apt-get install tcpdump
     145    }}}