169 | | |
170 | | a. From NodeA, start pinging one of NodeB's '''data plane interfaces''': |
171 | | |
172 | | {{{ |
173 | | #!html |
174 | | |
175 | | We will use the following network topology for this experiment: |
176 | | <br> |
177 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/IPRouting/Procedure/routetopology.png?format=raw" alt="route topology" align="center" width="350" title="route topology" /> |
178 | | |
179 | | <br> |
180 | | In this experiment you will learn how to set up static routing with the <em>route</em> command. |
181 | | |
182 | | In this exercise, you will setup the routing as indicated in the figure; i.e. packets from A sent to IP address 192.168.2.12 on node C should be routed via node B. In order to create this routing behavior you will need to modify the routing tables in your nodes using the linux |
183 | | <a href ="http://www.hscripts.com/tutorials/linux-commands/route.html"> route command </a>. |
| 169 | In this experiment you will learn how to set up static routing with the `route` command. |
| 170 | |
| 171 | {{{ |
| 172 | #!html |
| 173 | <table border="0"> |
| 174 | |
| 175 | <tr> |
| 176 | |
| 177 | <td > |
| 178 | <ol type='a'> |
| 179 | <li> Configure the routing as shown in Figure 5-1 using the <tt>route</tt> command and the Tips listed below. i.e. packets from A sent to IP address 192.168.2.12 on node C should be routed via node B. In order to create this routing behavior you will need to modify the routing tables in your nodes using the linux |
| 180 | <a href ="http://www.hscripts.com/tutorials/linux-commands/route.html"> route command </a></li> |
| 181 | <li>Answer the following questions: |
| 182 | <ol> |
| 183 | <li> <b>What happens when you traceroute from A to IP address 192.168.2.12 before you setup the static routes? Why? </b></li> |
| 184 | <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> </li> |
| 185 | <li> <b>What happens when you traceroute from A to IP address 192.168.2.12 after you setup the static routes? </b></li> |
| 186 | </ol> |
| 187 | |
| 188 | </li> |
| 189 | </ol> |
| 190 | </td> |
| 191 | <td> |
| 192 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/IPRouting/Procedure/routetopology.png?format=raw" alt="route topology" width="400" title="route topology" /> |
| 193 | <br /> |
| 194 | <b>Figure 5-1</b> <i>Network Topology for the Experiment</i> |
| 195 | </td> |
| 196 | </tr> |
| 197 | </table> |
| 198 | }}} |
| 199 | |
| 200 | {{{ |
| 201 | #!html |