Tutorial >> Examples | TOC |
We present an example using one NSP since most fundamental concepts can be explored using a 1-NSP configuration. Also, course work typically uses a single NSP so as to allow more concurrent testbed users.
A few comments before we begin:
This approach of defining the experiment configuration while disconnected from the testbed will help you reduce setup errors by giving you time to reflect on your choices. Furthermore, it will improve resource usage efficiency during testbed busy periods.
Here are the major steps in this example:
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.
Typically, this is either done through the command java -jar RLI.jar or by double-clicking on the Desktop RLI icon.
This step is unnecessary if you already made a reservation through the ONL Web page and is only useful if the testbed is not being heavily used.
A dialogue box titled "Log In" will appear.
If the information is accepted by the ONL resource daemon, resource allocation and initialization will commence. The initialization of NSPs and hosts takes a few minutes. Minor changes such as changing a routing table occur almost instanteously. You can observe the progress of the allocation and initialization process through the Testbed Status link in the sidebar of the ONL Web page.
You will actually end up on the ONL user host onlusr.arl.wustl.edu.
The example shows that the external network interface is onl32.arl.wustl.edu (onl32 is an alternate name).
Note that the ping command failed because the NSP's routing tables are empty. Since the target of the ping command refers to the internal network interface n1p3, the host attempts to send the ping packets over the internal network interface which is associated with the name n1p2 and the IP address 192.168.1.48. This internal interface is connected to the ingress-side of port 2 of the NSP. When a packet reaches the port, it will be dropped because there will be no route matching the packets destination IP address.
A new window titled "bandwidth" will appear. The bandwidth will be charted here.
In most situations, polling once per second will show sufficient detail. If we polled once per second with ping traffic (one packet per second), the bandwidth chart would appear as a horizontal line. But by polling once every 0.3 seconds, the bandwidth chart will show spikes occuring once per second.
Follow the same steps to add port 3's egress bandwidth to the bandwidth chart.
The appearance of the previous bandwidth 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 effectively zooming in and out along both the x- and y-axes.
Single icons can be moved by grabbing it and dragging it to a desired location. A group of icons can be dragged by first selecting a group of icons by enclosing the icons in a rectangle defined by dragging the cursor with the left mouse button, and then dragging one of the grouped icons.
A 2-router dumbbell configuration is used in many congestion experiments. Although two NSPs can be used to construct a dumbbell topology, a smaller version can be constructed from a single NSP by creating a link between two ports. The following steps creates a link between ports 6 and 7 and changes the routing table at port 2 so that ping packets from n1p2 will go into port 2, out of port 7, into port 6, and out of port 3 to n1p3. The return packet will still travel from n1p3 into port 3 where it will travel directly to port 2 and then out of port 2 to n1p2.
A dashed link will appear between the 2 ports.
The link between ports 7 and 6 will turn solid when the link has been actually created.
Now we need to change the routing table at port 2 to forward all traffic bound for n1p3 to go to port 7. We will do this by first deleting all route entries at port 2 and then adding one route entry to forward packets destined for 192.168.1.64 (n1p3) to go to port 7.
These two actions will select all entries between and including the first and last entries.
The route entries will disappear; the the bandwidth chart will show no traffic; and the ping command will show the "Destination Net Unreachable" message.
Recall that the bandwidth chart is showing the traffic volume enterring the ingress-side of the switch fabric at port 2. Since there are now no entries in the routing table at port 2, all incoming packets will be dropped and not leave the ingress-side of port 2.
Traffic will reappear in the bandwidth chart, and the ping command will show traffic has resumed.
Revised: Fri, Jan 12, 2007
Tutorial >> Examples | TOC |