zoukankan      html  css  js  c++  java
  • Practice:Demonstrating the Key TCP/IP Protocols

    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.
    ipconfig /all
    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 <SERVER NAME>
    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.
    Telnet <server name>
    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.
    http://www.sun.com
    This protocol gives access to the designated site.  This syntax is seen within the browser’s “Location” box.
  • 相关阅读:
    LeetCode 88. Merge Sorted Array
    LeetCode 75. Sort Colors
    LeetCode 581. Shortest Unsorted Continuous Subarray
    LeetCode 20. Valid Parentheses
    LeetCode 53. Maximum Subarray
    LeetCode 461. Hamming Distance
    LeetCode 448. Find All Numbers Disappeared in an Array
    LeetCode 976. Largest Perimeter Triangle
    LeetCode 1295. Find Numbers with Even Number of Digits
    如何自学并且系统学习计算机网络?(知乎问答)
  • 原文地址:https://www.cnblogs.com/macleanoracle/p/2967206.html
Copyright © 2011-2022 走看看