This practice uses common UNIX and Windows NT utilities to visualize key TCP/IP protocols. You will:
- See IP information using the IPCONFIG utility.
- Understand and overcome IP fault situations using the PING utility.
- Examine the FTP (File Transfer Protocol) application, and overcome fault situations commonly seen when using FTP.
- Create a TELNET session with a NT or UNIX server in your network, using the command line, and overcome fault situations commonly seen when invoking TELNET sessions.
- Create an HTTP session with a browser on your computer, and overcome fault situations commonly found when starting an HTTP session.
ASSUMPTIONS
- This practice will reference commands that function equivalently on UNIX operating systems and the NT operating system.
- Results may vary according to your IP assignments, etc.
- Utilize this topic’s Demo in conjunction with this Practice to further illustrate and guide this activity.
INSTRUCTIONS
1.
UNIX: Open a shell, login, and type the following command
NT: Open a DOS prompt, or invoke from the START/RUN pull down box.
This will return some IP information about your current server on both UNIX and NT.
2.
UNIX: Open a shell, type the following command.
NT: Open a DOS Prompt, type the following command
PING utility will return a positive response when the server indicated has responded.
3. File Transfer Protocol, FTP, is an utility used to transfer files between servers. Invoke FTP using the command lines below, on both UNIX and NT servers.
C:>ftp hostname
Connected to hostname220 hostname FTP server (SunOS 5.6) ready.
User (hostname:(none)): root
331 Password required for root.
Password:
230 User root logged in.
ftp> bin
200 Type set to I.
ftp> get
(remote-file)
get remote-file [ local-file ]
ftp> bye
221 Goodbye.
C:> |
BIN command once within FTP puts the file transfer into binary mode. GET command once within FTP will identify the file to transfer.
BYE command once within FTP will close the session
4.
TELNET is an utility used to gain access to servers. Invoke TELNET using the command lines below, on both UNIX and NT servers.
Login with a valid user id and password when prompted.
This utility gives access to the designated server for administrative purposes, in a command line environment.
5.
HTTP is a protocol that is used commonly within browsers. Invoke HTTP using the syntax below, in the browser of your choice, on both UNIX and NT servers.
This protocol gives access to the designated site. This syntax is seen within the browser’s “Location” box.