Changes between Version 41 and Version 42 of GENIExperimenter/Tutorials/ECE375


Ignore:
Timestamp:
09/10/13 11:30:35 (6 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/ECE375

    v41 v42  
    6262[[Image(execute.png, left)]]
    6363
    64 The goal of this exercise is to setup the routing as indicated in Figure 1. You might want to review the slides on IPv4 addressing and routing (also chapter 4.4 in the book)
     64The goal of this exercise is to setup the routing as indicated in Figure 1; i.e.  packets from A send to IP address 192.168.2.12 on node C should be routed via node B. In the current setup packets from A to C go directly. :
     65  1. Verify the default routing behavior using the [http://en.wikipedia.org/wiki/Traceroute traceroute] linux command. Include the output of the traceroutes commands in your writeup.
     66  2. Use the linux [http://www.hscripts.com/tutorials/linux-commands/route.html route command] to create static routes that match the routing behavior of the diagram. Include the routing commands in your writeup.
     67  3. Verify that you have created the intended routing behavior using traceroute.  Include the output of the traceroutes commands in your writeup along with screenshots from node A that shows traceroutes for both IP addresses of node C.
    6568
    6669
    67 After you have set up the routing correctly, packets from A send to IP address 192.168.2.12 on node C should be routed via node B. Packets from A send to IP address 192.168.3.12 on node C should be directly forwarded to C. You can verify this by performing a traceroute to the respective IP addresses of node C from node A. Since we’re not using a routing algorithm but set the route statically, we will make use of the “route” command. The following link gives you an introduction on how to use the command:
    68 
    69 [http://www.hscripts.com/tutorials/linux-commands/route.html route command]
    70 
    71 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.
    72 
    73 To enable forwarding of packets on node B you have to execute the following command:
     70'''Note''':  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.
     71'''Note'': In order to enable forwarding of packets on node B you have to execute the following command:
    7472{{{
    7573echo 1 > /proc/sys/net/ipv4/ip_forward
     
    7775
    7876
    79 To demonstrate that you have set up the routing correctly you have to submit a screenshot from node A that shows traceroutes for both IP addresses of node C.
    80 Note: You should document the steps you perform to set up the static routes since all configurations will be lost when your slice is deleted. A new slice will always be in its initial state with NO routing set up!
     77'''Note''': A new slice will always be in its initial state with NO routing set up!
    8178
    8279== Finish ==