The ONL NPR Tutorial

NPR Tutorial >> Examples TOC

New Window?

The Remote Laboratory Interface

Errata

Introduction

[[ ping-flow-resize.png Figure ]]

We present an example using two NPRs in a dumbbell configuration. Although one of the simplest configurations uses only one NPR, the two-NPR arrangement directly represents a popular configuration that appears in many textbooks and research papers. We will create a dumbbell topology and then send ping traffic from host n1p3 on the left to host n2p2 on the right through port 1.4 Then, some common problems/mistakes are listed. Finally, you will be asked to modify the example to support two ping flows instead of one with both flows going through port 1.4 but with the returning reply packets going through the link added between ports 2.4 and 1.1.

Some of the major features covered by this example are:

The example is given as a list of steps accompanied by screen shots. At the end is an example that tests your understanding of RLI basics.

A few comments before we begin:

Steps (Index)

Here are the major steps in this example:

  1. Create the SSH tunnel required by the RLI
  2. Start the RLI on your client host
  3. Add two NPRs and four hosts to the experiment
  4. Save the configuration
  5. Make a reservation for 1 hour
  6. Commit the experiment
  7. Set up default routing at each port
  8. Monitor some packet rates
  9. Rescale the bandwidth display
  10. Monitor some traffic bandwidths

Steps (In Detail)

  1. Create the SSH tunnel required by the RLI
    See the Getting Started link in the sidebar of the ONL Web page. This step is not required if you do not plan to commit your experiment or make a resource reservation through the RLI.
  2. Start the RLI on your client host
    Typically, this is either done through the command java -jar RLI.jar or by double-clicking on the Desktop RLI icon.
    Watch Out!!! If you are trying this before Fall 2008, you should use the RLInpr.jar file.
  3. Add two NPRs and four hosts to the experiment
  4. Save the Configuration
    Saving a configuration aids in recovery from misconfigurations or a testbed failure. It is good habit to adopt a discipline of periodically saving configurations as they evolve.
  5. Make a Reservation for 1 hour
    This step is unnecessary if you already made a usable reservation earlier.
  6. Commit the experiment
  7. Set up default routing at each port
  8. What we have so far is four hosts connected through two routers that have default settings. But the default setting of an NPR includes the following:
    1. An empty routing/forwarding table
    2. An output link capacity of 1 Gbps on each outgoing link.
    3. 64 datagram queues on each output port that are fed by a Stochastic Fair Queueing algorithm
    4. Each datagram queue can hold 32,768 bytes.
    Item 1 means that any packet coming into a router will be dropped because it doesn't know to which output port the packet should be sent. This step fixes that problem.
  9. Monitor some packet rates
  10. Rescale the bandwidth display
  11. The appearance of the previous chart can be modified to reveal more of the ping-like behavior: bandwidth spikes appearing approximately once per second. The charting features of the RLI allow the user to focus on a portion of a chart by zooming in and out along both the X- and Y-axes.
  12. Monitor some traffic bandwidths
    Follow the same steps to create a new chart which shows the traffic bandwidths in Mb/s (with title bandwidth).

Monitoring Menus

Most monitoring window menu items are intuitive. Below is a brief summary of the menus. An example of the Add Formula item is given in the example on filters.

 

Common Problems/Mistakes

Here are some common problems/mistakes:

 

Test Your Understanding

[[ Dumbbell Link South Figure ]]

Construct the dumbbell configuration shown right that will support two ping flows: 1) n1p3-n2p3, and 2) n1p2-n2p2. The ICMP echo request packets in the forward direction should take the northern route (go out port 1.4 to port 2.1), but the returning ICMP echo reply packets in the reverse direction should take the southern route (go out port 2.4 to port 1.1). How does the configuration file for this example differ from the one earlier?
[[ Pkts Per Sec at 1.1 Figure ]]

Construct a pkts per sec packet rate chart with the packet rates shown to the right. Note that the RXPKT 1.1 plot is a dashed line while all of the other ones are solid lines. Can you explain the following features in the chart:



 Revised: Fri, Aug 14, 2009 

  
  

NPR Tutorial >> Examples TOC