SILS iSchool

30 Aug 2018

Value Added | daily

Class Schedule

Basics | sessions 01-05

21 Aug | intro
23 Aug | clients
28 Aug | servers


30 Aug | networks | inter-networks | paths | IP v. URL addressing | next session
04 Sep | basics lab

Web Development | sessions 06-11

06 Sep | structural layer
11 Sep | presentational layer
18 Sep | working with layers
20 Sep | behavior layer
25 Sep | images & design
27 Sep | website lab

Document Markup | sessions 12-14

02 Oct | object layers
04 Oct | tools that read markup
09 Oct | document markup lab

Spreadsheets | sessions 15-19

11 Oct | spreadsheets, formulas & functions
16 Oct | data display
 18 Oct | Fall Break 
23 Oct | database tools
25 Oct | spreadsheets lab

Relational Database | sessions 20-26

30 Oct | relational databases
01 Nov | tables
06 Nov | relationships
08 Nov | input & output
13 Nov | SQL
15 Nov | complex queries
20 Nov | databases lab
 22 Nov | Thanksgiving 

Presentation | sessions 27-30

27 Nov | presentation design
29 Nov | presentation delivery
04 Dec | presentation lab
13 Dec | 0800-1100 | final in class presentation





You may use several baseline tools to see where packets of information travel on the network.

Remember our convention.

commandsargumentvalue

To use UNIX network tools,

If your choice of client is Mac or Linux, connecting with terminal is somewhat similar to connecting with Windows.

If your choice of client is Windows, you can connect to opal.ils.unc.edu using SSH.

We will use SSH for this example.

Start by opening a secure telnet connection to the Opal server.

Use the terminal application on your Mac or Linux machine, or use SSH on your Windows machine. Each have their own version of the login. SSH uses ssh (the Secure Shell) to login, so that your username and password are not visible to other people on the campus network.

To login from your computer (it's the same here in the lab or elsewhere on your laptop):

  1. Start the program (from your desktop, the Start menu, or from the Run dialog box)
  2. Select "Quick Connect", then enter login.its.unc.edu in the dialog box and enter your onyen.
  3. Accept & Save the host key, if requested. (This is the encryption key that lets ITS identify you).
  4. You will be prompted for your username & password; provide them.
  5. Once there, you are in the server so the rest of the commands will be common, no matter which kind of client application you used to get to the server. Find the $ prompt to get into a shell session and thus into UNIX.
Connect to Remote Host dialog box Enter a Shell session from the command line in opal.ils

The $ is the UNIX prompt; bash $ may be a Linux prompt. But both will do the same things.

To logout when you're done (don't forget to do this!):
Type exit if you are at the shell prompt [the $] instead of the menu
or, select the logout option from the menu.

back to top

Internet tools available in UNIX and elsewhere (DOS, Windows)

Utilities available for UNIX/Linux and Windows machines, among others, include ping and traceroute.

ping

ping some URL
like
ping www.somedomainname.com

Ping sends a ICMP packet over the IP to check whether a host is alive, and how quickly a response is received.
On ITSand some other systems, use
ping -s www.somedomainname.com
then
CNTL+C
to cancel.

traceroute

traceroute www.somedomainname.com
traces the route your packets take to get to www.somedomainname.com.
The trace can be thrown off by firewalls or other systems that block some types of packets.
CNTL+C
to cancel.

back to top

Try out Traceroute

We want to use Traceroute to see how long it takes to send a signal to a remote server and have it return to Opal.

The traceroute program is used to determine the path that messages might take from one machine to another. Recall that any packet (message) sent on the Internet must go through some number of routers to get to its destination. Each link in this path is called a hop. Local traffic usually has very few hops (zero or 1 or 2) while long-distance traffic can take thirty or more hops before arriving. Traceroute lets us look at the path a message might take through this chain of routers to get to its destination.

In this example, I asked for a trace of a route from ITS (not Opal) to a location. I could see it first told me the site's IP address (expressed in numbers) and then showed me all the jumps from ITS's ITS server through switches at CiscoKid, on to RTP, then onto the Internet backbone through several different backbone providers before it ran into routers with masked addresses at the tenth step.

running a traceroute using UNIX

Try it out on sites you are curious about. Look at the path the connection follows and how long each segment takes. When you are finished, type in the command
exit
and this will close your connection to Opal

back to top

The above procedure allows you to run traceroute on a Unix server, but you can also run it on a Windows PC

run dialog box in Windows

The DOS way to run Traceroute is to go to start and then open the run dialog box. Then type in
cmd
for a command prompt. Once you have the command prompt, type the command
tracert
followed by the internet address.

command window in Windows

This time, however, the trace will go from your client, through your ISP, and then on to it's destination. The difference is that when you used SSH you were tracing from ITS(because you were using a Telnet application), but in this case you are using a client application and tracing from your client computer.

The same it true for a Mac. You can run it from Terminal, but the command in a Mac is the same as in Unix/Linux,
traceroute.

command window in iOS

back to top

Online tools

There are online traceroute tools, as well as additional explanations of the command. In fact, there are lots of additional explanations.

back to top