NPR Tutorial >> The Remote Laboratory Interface | TOC |
Before beginning our tour of the RLI, let's go over some basic conventions regarding mouse buttons. The following list is a quick summary of the main features:
A user can SSH to onl.arl.wustl.edu (called the login host) at any time but can only SSH into other ONL hosts that have been given to the user as part of the commit process. Control messages and SSH access to a committed ONL host from the login host go over the external (control) network.
Every host given to a user as part of the commit process has two interfaces: one connected to the internal (private) testbed network and one connected to the external (control) network. Experimental traffic goes over the internal network consisting of your routers and the interconnection switch. The figure (right) shows one NPR with two hosts. Each host has been annotated with green bars depicting the network (Ethernet) interfaces to the two networks and red lines depicting the control network.
Throughout our descriptions in the NPR Tutorial, interface names that begin with a dollar sign (e.g., $n1p2, $n2p3) refer to the Ethernet interface that is connected to the control network. You should replace those symbols with the hostnames appropriate to your setup or run the source Unix command shown below to make these symbols meaningful.
Interfaces to the internal network have IP addresses of the form 192.168.N.H where N is the logical router number and H is the host portion and have names such as n1p2, and n2p3 (Note: not $n1p2 or $n2p3); i.e., omit the dollar sign when referring to the internal network interface. For example, if you ask for only one router, the value of N will always be 1. But NPR 3 might be the actual router. If you ask for two routers, N will be 1 for one router and 2 for the other router. Interfaces to the external (control) network have IP addresses of the form 10.0.0.H where H is the host portion and have names such as onl062.arl.wustl.edu (which has the short name onl062). These external names are determined during the commit phase when actual resources are bound to resources in your configuration.
In many cases (especially scripts), it might be easier to refer to the environment variable (e.g., $n1p2) associated with the external interface whenever you are refering to the control network interface. These variables can be imported into your environment by running ONE of these two commands (your choice will depend on your ONL shell):
source ~onl/.topology # bash source ~onl/.topology.csh # csh, tcsh
You can verify that this procedure has worked by enterring something like:
printenv n1p2 echo "$n1p2"
Revised: Tue, Aug 26, 2008
NPR Tutorial >> The Remote Laboratory Interface | TOC |